mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-18 06:03:28 +00:00
zen: new inference
This commit is contained in:
parent
58ba99e505
commit
bda0ddc207
1 changed files with 4 additions and 1 deletions
|
|
@ -201,7 +201,10 @@ export async function handler(
|
|||
if (v === "$model") return headers.set(k, model)
|
||||
if (v === "$request") return headers.set(k, requestId)
|
||||
if (v === "$project") return headers.set(k, projectId)
|
||||
if (v === "$workspace" && authInfo?.workspaceID) return headers.set(k, authInfo.workspaceID)
|
||||
if (v === "$workspace") {
|
||||
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID)
|
||||
return
|
||||
}
|
||||
headers.set(k, v)
|
||||
})
|
||||
headers.delete("host")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue