feat(settings): add model selection combobox for OpenCode agent configuration

Replace plain text inputs for model and small_model with searchable
combobox dropdowns that list models from configured providers, while
still supporting custom text entry on blur.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
xintaofei
2026-04-07 10:55:42 +08:00
parent a3d5335e7f
commit faf8ff0731
11 changed files with 152 additions and 28 deletions

View File

@@ -555,7 +555,10 @@
"modelId": "ID du modèle",
"modelName": "Nom du modèle",
"deleteModel": "Supprimer le modèle {modelId}",
"nativeJsonConfig": "Configuration JSON native OpenCode"
"nativeJsonConfig": "Configuration JSON native OpenCode",
"mainModel": "Modèle principal",
"smallModel": "Petit modèle",
"noMatchingModels": "Aucun modèle correspondant"
},
"openClaw": {
"gatewayConfig": "Configuration Gateway",