add client header replacement
This commit is contained in:
parent
f4019cab3e
commit
0561bac189
1 changed files with 1 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ export async function handler(
|
|||
if (v === "$session") return headers.set(k, sessionId)
|
||||
if (v === "$model") return headers.set(k, model)
|
||||
if (v === "$request") return headers.set(k, requestId)
|
||||
if (v === "$client") return headers.set(k, ocClient)
|
||||
if (v === "$project") return headers.set(k, projectId)
|
||||
if (v === "$workspace") {
|
||||
if (authInfo?.workspaceID) headers.set(k, authInfo.workspaceID)
|
||||
|
|
|
|||
Loading…
Reference in a new issue