mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Add GLM-4.7 model support to frontend (#13202)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -97,6 +97,8 @@ FUNCTION_CALLING_PATTERNS: list[str] = [
|
||||
'qwen3-coder-480b-a35b-instruct',
|
||||
'deepseek-chat',
|
||||
'grok-code-fast-1',
|
||||
# GLM series - verified via official docs and litellm config
|
||||
'glm-4*',
|
||||
]
|
||||
|
||||
REASONING_EFFORT_PATTERNS: list[str] = [
|
||||
@@ -116,6 +118,8 @@ REASONING_EFFORT_PATTERNS: list[str] = [
|
||||
'deepseek-r1-0528*',
|
||||
'claude-sonnet-4-5*',
|
||||
'claude-haiku-4-5*',
|
||||
# GLM series - verified via litellm config
|
||||
'glm-4*',
|
||||
]
|
||||
|
||||
PROMPT_CACHE_PATTERNS: list[str] = [
|
||||
@@ -129,6 +133,8 @@ PROMPT_CACHE_PATTERNS: list[str] = [
|
||||
'claude-3-opus-20240229',
|
||||
'claude-sonnet-4*',
|
||||
'claude-opus-4*',
|
||||
# GLM series - verified via litellm config
|
||||
'glm-4*',
|
||||
]
|
||||
|
||||
SUPPORTS_STOP_WORDS_FALSE_PATTERNS: list[str] = [
|
||||
|
||||
@@ -26,6 +26,7 @@ OPENHANDS_MODELS = [
|
||||
'openhands/devstral-medium-2512',
|
||||
'openhands/kimi-k2-0711-preview',
|
||||
'openhands/qwen3-coder-480b',
|
||||
'openhands/glm-4.7',
|
||||
]
|
||||
|
||||
CLARIFAI_MODELS = [
|
||||
|
||||
Reference in New Issue
Block a user