Skip to content

πŸ™Œ OpenHands: AI-Driven Development

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 (#4822)

OpenHands6184b9d7f427
diff --git a/openhands/llm/llm.py b/openhands/llm/llm.py
index 58f41ca462..2ed9732e1e 100644
--- a/openhands/llm/llm.py
+++ b/openhands/llm/llm.py
@@ -65,6 +65,7 @@ FUNCTION_CALLING_SUPPORTED_MODELS = [
'claude-3-5-sonnet',
'claude-3-5-sonnet-20240620',
'claude-3-5-sonnet-20241022',
+ 'claude-3.5-haiku',
'claude-3-5-haiku-20241022',
'gpt-4o-mini',
'gpt-4o',