diff --git a/openagent/conf/llm_provider.py b/openagent/conf/llm_provider.py index 086ee323..eb897495 100644 --- a/openagent/conf/llm_provider.py +++ b/openagent/conf/llm_provider.py @@ -65,7 +65,7 @@ def get_available_providers() -> Dict[str, BaseChatModel]: provider_configs = [ (["gpt-4o-mini", "gpt-4o"], get_openai_provider), - (["sonnet"], get_anthropic_provider), + (["claude-3-5-sonnet"], get_anthropic_provider), (["gemini-1.5-pro", "gemini-1.5-flash"], get_gemini_provider), ] diff --git a/openagent/ui/profile.py b/openagent/ui/profile.py index df7fe14b..20efda64 100644 --- a/openagent/ui/profile.py +++ b/openagent/ui/profile.py @@ -23,9 +23,9 @@ "markdown_description": "Using **Gemini 1.5 Flash**.", "icon": "https://custom.typingmind.com/assets/models/gemini.png", }, - "sonnet": { - "name": "Sonnet", - "markdown_description": "Using **Sonnet**.", + "claude-3-5-sonnet": { + "name": "Claude 3.5 Sonnet", + "markdown_description": "Using **Claude 3.5 Sonnet**.", "icon": "public/claude.png", } } diff --git a/tests/run_test.py b/tests/run_test.py index aef0edb3..aca1b19e 100644 --- a/tests/run_test.py +++ b/tests/run_test.py @@ -10,7 +10,7 @@ {"name": "gpt-4o", "function_call_support": True}, {"name": "gemini-1.5-flash", "function_call_support": True}, {"name": "gemini-1.5-pro", "function_call_support": True}, - {"name": "sonnet", "function_call_support": True}, + {"name": "claude-3-5-sonnet", "function_call_support": True}, ] OPENSOURCE_MODELS = [