fix: replace two deprecated models, delete one#4935
Merged
Conversation
The model that this test uses is no longer available online. [1] [2] Per the upstream commit, the only known suitable replacement is gpt-4-0613, which the test already uses. Hence, remove gpt-4-32k from the test without any replacement. [1]: BerriAI/litellm#20795 [2]: BerriAI/litellm@15075ef
The model that this test uses is no longer available online. [1] [2] Per the upstream commit, claude-sonnet-4-6 is a suitable replacement so use that instead. [1]: BerriAI/litellm#23400 [2]: BerriAI/litellm@c9f7075
The model that this test uses is no longer available online. [1] [2] Per the upstream commit, gpt-4o would be the next best candidate for vision models, so use that instead. [1]: BerriAI/litellm#23400 [2]: BerriAI/litellm@c9f7075
Contributor
Author
|
Tested successfully in the AUR PKGBUILD, too. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three models that the unit tests use are no longer available online:
gpt-4-32k(see chore: cleanup deprecated models from pricing JSON BerriAI/litellm#20795 and BerriAI/litellm@15075ef)claude-3-5-sonnet-20240620(see [Fix] Replace deprecated models in tests BerriAI/litellm#23400 and BerriAI/litellm@c9f7075)the vision model
gpt-4-vision-preview(see [Fix] Replace deprecated models in tests BerriAI/litellm#23400 and BerriAI/litellm@c9f7075)The LiteLLM commits mentioned suggest suitable alternatives for the three models.
This PR updates the unit tests accordingly.
See commit messages for details.