mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-06 14:33:11 +08:00
feat: fix default and free models (#16922)
Co-authored-by: neubig <neubig@users.noreply.github.com> Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Juan Pedro Michelini Jorge <juan@juan.com.uy> Co-authored-by: allhands-bot <allhands-bot@users.noreply.github.com>
This commit is contained in:
co-authored by
neubig
openhands
Juan Pedro Michelini Jorge
allhands-bot
parent
f95b9b71f7
commit
d104ffdc33
@@ -3,7 +3,8 @@
|
||||
---
|
||||
|
||||
### LLD-001: Frontend always sends its chosen default model
|
||||
- [x] When the agent-server returns an absent or empty `llm.model` (e.g. because the user has never saved settings), the frontend adapter shall substitute `DEFAULT_SETTINGS.llm_model` (`"openhands/kimi-k3"`) before sending the conversation-start request.
|
||||
|
||||
- [x] When the agent-server returns an absent or empty `llm.model` (e.g. because the user has never saved settings), the frontend adapter shall substitute `DEFAULT_SETTINGS.llm_model` (`"openai/gpt-5.6-sol"`) before sending the conversation-start request.
|
||||
- [x] The frontend shall never rely on the agent-server SDK's own default model (`gpt-5.5`); it shall always send an explicit model value.
|
||||
- [x] Whitespace-only model strings shall be treated as absent and fall back to the default.
|
||||
- [x] The same guard applies when LLM settings arrive via `encryptedAgentSettings` (the conversation-start encrypted payload path).
|
||||
|
||||
Reference in New Issue
Block a user