zen: migrate to new inference
This commit is contained in:
parent
77f2d2227a
commit
4f4aa68db9
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ export async function handler(
|
|||
providerInfo.modifyHeaders(headers, providerInfo.apiKey, stickyId)
|
||||
Object.entries(providerInfo.headerModifier ?? {}).forEach(([k, v]) => {
|
||||
if (v === "$ip") return headers.set(k, ip)
|
||||
if (v === "$caller") return headers.set(k, `caller:${ip}`)
|
||||
if (v === "$caller") return headers.set(k, stickyId)
|
||||
if (v === "$session") return headers.set(k, sessionId)
|
||||
if (v === "$model") return headers.set(k, model)
|
||||
if (v === "$request") return headers.set(k, requestId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue