π OpenHands: AI-Driven Development
Enable native tool calling for Anthropic Claude 3.5 Sonnet (dot-notation) models (#11156)
Engel Nysta1b81fe9235d
diff --git a/openhands/llm/model_features.py b/openhands/llm/model_features.pyindex 48a40a38f6..f6fae8dc60 100644--- a/openhands/llm/model_features.py+++ b/openhands/llm/model_features.py@@ -65,6 +65,7 @@ FUNCTION_CALLING_PATTERNS: list[str] = ['claude-3.7-sonnet*','claude-sonnet-3-7-latest','claude-3-5-sonnet*',+ 'claude-3.5-sonnet*', # Accept dot-notation for Sonnet 3.5 as well'claude-3.5-haiku*','claude-3-5-haiku*','claude-sonnet-4*',