zen: new inference
This commit is contained in:
parent
4f4aa68db9
commit
fec087bf37
5 changed files with 41 additions and 0 deletions
|
|
@ -201,6 +201,7 @@ 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)
|
||||
headers.set(k, v)
|
||||
})
|
||||
headers.delete("host")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue