-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[feat] migrate to latest provider models and remove deprecated ones #7681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 6 commits
0990db8
76a6677
6a69daf
d57de74
80c2ad8
a7435ce
b1c3112
179cba7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,7 +78,7 @@ class Gemini(Model): | |
| Based on https://googleapis.github.io/python-genai/ | ||
| """ | ||
|
|
||
| id: str = "gemini-2.0-flash-001" | ||
| id: str = "gemini-flash-latest" | ||
| name: str = "Gemini" | ||
| provider: str = "Google" | ||
|
Comment on lines
+81
to
83
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,14 +12,14 @@ class MoonShot(OpenAILike): | |
| A class for interacting with MoonShot models. | ||
|
|
||
| Attributes: | ||
| id (str): The model id. Defaults to "kimi-k2-thinking". | ||
| id (str): The model id. Defaults to "kimi-k2.5". | ||
| name (str): The model name. Defaults to "Moonshot". | ||
| provider (str): The provider name. Defaults to "Moonshot". | ||
| api_key (Optional[str]): The API key. | ||
| base_url (str): The base URL. Defaults to "https://api.moonshot.ai/v1". | ||
| """ | ||
|
|
||
| id: str = "kimi-k2-thinking" | ||
| id: str = "kimi-k2.5" | ||
| name: str = "Moonshot" | ||
|
Comment on lines
+22
to
23
|
||
| provider: str = "Moonshot" | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ class OpenAIChat(Model): | |
| For more information, see: https://platform.openai.com/docs/api-reference/chat/create | ||
| """ | ||
|
|
||
| id: str = "gpt-4o" | ||
| id: str = "gpt-5.4-mini" | ||
| name: str = "OpenAIChat" | ||
| provider: str = "OpenAI" | ||
| supports_native_structured_outputs: bool = True | ||
|
Comment on lines
+41
to
44
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ class OpenRouter(OpenAILike): | |
| A class for using models hosted on OpenRouter. | ||
|
|
||
| Attributes: | ||
| id (str): The model id. Defaults to "gpt-4o". | ||
| id (str): The model id. Defaults to "gpt-5.4-mini". | ||
| name (str): The model name. Defaults to "OpenRouter". | ||
| provider (str): The provider name. Defaults to "OpenRouter". | ||
| api_key (Optional[str]): The API key. | ||
|
|
@@ -29,7 +29,7 @@ class OpenRouter(OpenAILike): | |
| these models in order. Example: ["anthropic/claude-sonnet-4", "deepseek/deepseek-r1"] | ||
| """ | ||
|
|
||
| id: str = "gpt-4o" | ||
| id: str = "gpt-5.4-mini" | ||
| name: str = "OpenRouter" | ||
|
Comment on lines
21
to
33
|
||
| provider: str = "OpenRouter" | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fireworks’ default model id is updated here, but integration tests still reference the previous serverless model (e.g., libs/agno/tests/integration/models/fireworks/* uses "accounts/fireworks/models/llama-v3p1-405b-instruct"). If that model is no longer available serverless (per PR description), those tests/examples should be updated to a currently supported Fireworks model to avoid CI breakage and to exercise the new default path.