From a1b81fe9235d84124f5976d9a755eb7348e4137a Mon Sep 17 00:00:00 2001 From: Engel Nyst Date: Sun, 28 Sep 2025 00:38:37 +0200 Subject: [PATCH] Enable native tool calling for Anthropic Claude 3.5 Sonnet (dot-notation) models (#11156) Co-authored-by: openhands --- openhands/llm/model_features.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openhands/llm/model_features.py b/openhands/llm/model_features.py index 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*',