fix(opencode): normalize Muse Free tool choice
OpenCode Free returns HTTP 400 for muse-spark-1.3-contributor-free when tool_choice is non-auto. Declare forceAutoToolChoiceModels quirk and normalize explicit tool_choice to auto.
This commit is contained in:
@@ -18,6 +18,9 @@ export default {
|
||||
"x-opencode-client": "desktop",
|
||||
},
|
||||
noAuth: true,
|
||||
quirks: {
|
||||
forceAutoToolChoiceModels: ["muse-spark-1.3-contributor-free"],
|
||||
},
|
||||
},
|
||||
models: [
|
||||
// Endpoint formats differ per model, so declare non-chat models explicitly.
|
||||
|
||||
Reference in New Issue
Block a user