From d8413a471214fb36ecc441a1fef57436f2a27e1a Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 22 Nov 2024 12:23:26 +0800 Subject: [PATCH] chore: rename --- openagent/conf/llm_provider.py | 2 +- openagent/ui/profile.py | 6 +++--- tests/run_test.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 = [