sonic model

This commit is contained in:
Dax Raad
2025-08-20 01:02:41 -04:00
parent a2db58f125
commit aa10f8a7f6
3 changed files with 14 additions and 1 deletions

View File

@@ -957,6 +957,13 @@ export namespace Session {
toolName: "invalid",
}
},
headers:
input.providerID === "opencode"
? {
"x-opencode-session": input.sessionID,
"x-opencode-request": userMsg.id,
}
: undefined,
maxRetries: 3,
activeTools: Object.keys(tools).filter((x) => x !== "invalid"),
maxOutputTokens: outputLimit,