We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb94b3 commit 9ac99bdCopy full SHA for 9ac99bd
openhands-sdk/openhands/sdk/llm/utils/model_features.py
@@ -90,12 +90,9 @@ class ModelFeatures:
90
# These models don't support structured content format [{"type":"text","text":"..."}]
91
# and need plain strings instead
92
FORCE_STRING_SERIALIZER_PATTERNS: list[str] = [
93
- "*deepseek*",
94
- "glm*",
95
- # kimi-k2-instruct on groq provider requires string serialization
96
- # Pattern contains '/' so it matches against full model string
97
- # (e.g., "groq/kimi-k2-instruct")
98
- "*groq*/kimi-k2-instruct*",
+ "deepseek",
+ "glm",
+ "groq/kimi-k2-instruct",
99
]
100
101
0 commit comments