[Update] Default LLM (#3587)
This commit is contained in:
@@ -38,7 +38,7 @@ class AzureOpenAILLM(LLMBase):
|
||||
|
||||
# Model name should match the custom deployment name chosen for it.
|
||||
if not self.config.model:
|
||||
self.config.model = "gpt-4o"
|
||||
self.config.model = "gpt-4.1-nano-2025-04-14"
|
||||
|
||||
api_key = self.config.azure_kwargs.api_key or os.getenv("LLM_AZURE_OPENAI_API_KEY")
|
||||
azure_deployment = self.config.azure_kwargs.azure_deployment or os.getenv("LLM_AZURE_DEPLOYMENT")
|
||||
|
||||
@@ -16,7 +16,7 @@ class AzureOpenAIStructuredLLM(LLMBase):
|
||||
|
||||
# Model name should match the custom deployment name chosen for it.
|
||||
if not self.config.model:
|
||||
self.config.model = "gpt-4o-2024-08-06"
|
||||
self.config.model = "gpt-4.1-nano-2025-04-14"
|
||||
|
||||
api_key = self.config.azure_kwargs.api_key or os.getenv("LLM_AZURE_OPENAI_API_KEY")
|
||||
azure_deployment = self.config.azure_kwargs.azure_deployment or os.getenv("LLM_AZURE_DEPLOYMENT")
|
||||
|
||||
@@ -16,7 +16,7 @@ class LiteLLM(LLMBase):
|
||||
super().__init__(config)
|
||||
|
||||
if not self.config.model:
|
||||
self.config.model = "gpt-4o-mini"
|
||||
self.config.model = "gpt-4.1-nano-2025-04-14"
|
||||
|
||||
def _parse_response(self, response, tools):
|
||||
"""
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ class OpenAILLM(LLMBase):
|
||||
super().__init__(config)
|
||||
|
||||
if not self.config.model:
|
||||
self.config.model = "gpt-4o-mini"
|
||||
self.config.model = "gpt-4.1-nano-2025-04-14"
|
||||
|
||||
if os.environ.get("OPENROUTER_API_KEY"): # Use OpenRouter
|
||||
self.client = OpenAI(
|
||||
|
||||
Reference in New Issue
Block a user