mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 06:12:26 +00:00
wip: zen
This commit is contained in:
@@ -676,7 +676,7 @@ export namespace Provider {
|
||||
if (providerID === "github-copilot") {
|
||||
priority = priority.filter((m) => m !== "claude-haiku-4.5")
|
||||
}
|
||||
if (providerID === "opencode" || providerID === "local") {
|
||||
if (providerID.startsWith("opencode")) {
|
||||
priority = ["gpt-5-nano"]
|
||||
}
|
||||
for (const item of priority) {
|
||||
|
||||
@@ -534,7 +534,7 @@ export namespace SessionPrompt {
|
||||
}
|
||||
},
|
||||
headers: {
|
||||
...(model.providerID === "opencode"
|
||||
...(model.providerID.startsWith("opencode")
|
||||
? {
|
||||
"x-opencode-session": sessionID,
|
||||
"x-opencode-request": lastUser.id,
|
||||
|
||||
Reference in New Issue
Block a user