From 1bbc7b6089d26b051d2d9df053e4d53f17d5156e Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 7 Nov 2024 14:11:09 +0000 Subject: [PATCH 1/2] Fix issue #4820: [Bug]: litellm doesn't support function calling model from OpenRouter. bug cause codeactagent couldn't interact with internet solely without ask browser agent for help --- openhands/llm/llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openhands/llm/llm.py b/openhands/llm/llm.py index 2c046e470bfd..db5870c55851 100644 --- a/openhands/llm/llm.py +++ b/openhands/llm/llm.py @@ -61,6 +61,7 @@ 'claude-3-5-haiku-20241022', 'gpt-4o', 'gpt-4o-mini', + 'claude-3.5-sonnet', # OpenRouter model name ] From d62b78695d602d3ef34f2a3ba85e3e31e86692c5 Mon Sep 17 00:00:00 2001 From: openhands Date: Wed, 13 Nov 2024 00:31:33 +0000 Subject: [PATCH 2/2] Fix pr #4822: Fix issue #4820: [Bug]: litellm doesn't support function calling model from OpenRouter. bug cause codeactagent couldn't interact with internet solely without ask browser agent for help --- openhands/llm/llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openhands/llm/llm.py b/openhands/llm/llm.py index db5870c55851..efac95a51db9 100644 --- a/openhands/llm/llm.py +++ b/openhands/llm/llm.py @@ -62,6 +62,7 @@ 'gpt-4o', 'gpt-4o-mini', 'claude-3.5-sonnet', # OpenRouter model name + 'claude-3.5-haiku', # OpenRouter model name ]