Skip to content
4 changes: 2 additions & 2 deletions libs/agno/agno/models/fireworks/fireworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ class Fireworks(OpenAILike):
A class for interacting with models hosted on Fireworks.

Attributes:
id (str): The model name to use. Defaults to "accounts/fireworks/models/llama-v3p1-405b-instruct".
id (str): The model name to use. Defaults to "accounts/fireworks/models/gpt-oss-120b".
name (str): The model name to use. Defaults to "Fireworks".
provider (str): The provider to use. Defaults to "Fireworks".
api_key (Optional[str]): The API key to use.
base_url (str): The base URL to use. Defaults to "https://api.fireworks.ai/inference/v1".
"""

id: str = "accounts/fireworks/models/llama-v3p1-405b-instruct"
id: str = "accounts/fireworks/models/gpt-oss-120b"
name: str = "Fireworks"
Comment on lines +22 to 23
Copy link

Copilot AI Apr 25, 2026

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.

Copilot uses AI. Check for mistakes.
provider: str = "Fireworks"

Expand Down
2 changes: 1 addition & 1 deletion libs/agno/agno/models/google/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gemini’s default model id is updated here, but several integration tests still reference the previous id explicitly (e.g., libs/agno/tests/integration/models/google/* and other integration tests use "gemini-2.0-flash-001"). If the motivation is avoiding upcoming deprecations, those pinned test model IDs should be updated as well to prevent future breakage and to validate the new default in practice.

Copilot uses AI. Check for mistakes.

Expand Down
4 changes: 2 additions & 2 deletions libs/agno/agno/models/moonshot/moonshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MoonShot’s default model id is updated, but unit tests still hard-code the old id (libs/agno/tests/unit/models/moonshot/test_moonshot.py uses "kimi-k2-thinking"). Given the stated goal of migrating away from deprecated models, update those tests (and any docs/examples) to a supported model id so the test suite doesn’t keep validating a model slated for deprecation.

Copilot uses AI. Check for mistakes.
provider: str = "Moonshot"

Expand Down
2 changes: 1 addition & 1 deletion libs/agno/agno/models/openai/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenAIChat’s default model id is updated here, but there are still other OpenAI defaults hard-coded to "gpt-4o" (e.g., agno/models/defaults.py defines DEFAULT_OPENAI_MODEL_ID = "gpt-4o" and OpenAIResponses defaults to "gpt-4o"). This leaves the codebase with multiple conflicting "default" OpenAI model sources. Consider updating the central default constant/usages (and the Responses default if intended) so defaults are consistent across the library.

Copilot uses AI. Check for mistakes.
Expand Down
4 changes: 2 additions & 2 deletions libs/agno/agno/models/openrouter/openrouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenRouter’s default model id is updated here, but integration tests still pin the old id (e.g., libs/agno/tests/integration/models/openrouter/* uses OpenRouter(id="gpt-4o")). If those tests run in CI or are used as examples, they’ll likely start failing once the model is deprecated/unavailable. Update the OpenRouter integration tests/examples to the new default (or reference OpenRouter().id) to keep the test suite aligned with this migration.

Copilot uses AI. Check for mistakes.
provider: str = "OpenRouter"

Expand Down
4 changes: 2 additions & 2 deletions libs/agno/agno/models/together/together.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ class Together(OpenAILike):
A class for interacting with Together API.

Attributes:
id (str): The id of the Together model to use. Default is "mistralai/Mixtral-8x7B-Instruct-v0.1".
id (str): The id of the Together model to use. Default is "MiniMaxAI/MiniMax-M2.7".
name (str): The name of this chat model instance. Default is "Together"
provider (str): The provider of the model. Default is "Together".
api_key (str): The api key to authorize request to Together.
base_url (str): The base url to which the requests are sent. Defaults to "https://api.together.xyz/v1".
"""

id: str = "mistralai/Mixtral-8x7B-Instruct-v0.1"
id: str = "MiniMaxAI/MiniMax-M2.7"
name: str = "Together"
provider: str = "Together"
api_key: Optional[str] = None
Expand Down
4 changes: 2 additions & 2 deletions libs/agno/agno/models/xai/xai.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ class xAI(OpenAILike):
Class for interacting with the xAI API.

Attributes:
id (str): The ID of the language model. Defaults to "grok-beta".
id (str): The ID of the language model. Defaults to "grok-4-1-fast-non-reasoning-latest".
name (str): The name of the API. Defaults to "xAI".
provider (str): The provider of the API. Defaults to "xAI".
api_key (Optional[str]): The API key for the xAI API.
base_url (Optional[str]): The base URL for the xAI API. Defaults to "https://api.x.ai/v1".
search_parameters (Optional[Dict[str, Any]]): Search parameters for enabling live search.
"""

id: str = "grok-beta"
id: str = "grok-4-1-fast-non-reasoning-latest"
name: str = "xAI"
provider: str = "xAI"

Expand Down
Loading