diff --git a/openhands/llm/llm.py b/openhands/llm/llm.py index a3a775ca69..62b0f94acc 100644 --- a/openhands/llm/llm.py +++ b/openhands/llm/llm.py @@ -94,6 +94,7 @@ FUNCTION_CALLING_SUPPORTED_MODELS = [ 'kimi-k2-instruct', 'Qwen3-Coder-480B-A35B-Instruct', 'qwen3-coder', # this will match both qwen3-coder-480b (openhands provider) and qwen3-coder (for openrouter) + 'gpt-5', 'gpt-5-2025-08-07', ] @@ -108,7 +109,9 @@ REASONING_EFFORT_SUPPORTED_MODELS = [ 'o4-mini-2025-04-16', 'gemini-2.5-flash', 'gemini-2.5-pro', + 'gpt-5', 'gpt-5-2025-08-07', + 'claude-opus-4-1-20250805', # we need to remove top_p for opus 4.1 ] MODELS_WITHOUT_STOP_WORDS = [