mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-07 15:52:52 +03:00
fix: pass client headers to executor in chatCore (#1335)
Integrated into release/v3.6.7
This commit is contained in:
@@ -1563,6 +1563,7 @@ export async function handleChatCore({
|
||||
log,
|
||||
extendedContext,
|
||||
upstreamExtraHeaders: buildUpstreamHeadersForExecute(modelToCall),
|
||||
clientHeaders: clientRawRequest?.headers ?? null,
|
||||
});
|
||||
|
||||
// Qwen 429 strict quota backoff (wait 1.5s, 3s and retry)
|
||||
@@ -1763,6 +1764,7 @@ export async function handleChatCore({
|
||||
log,
|
||||
extendedContext,
|
||||
upstreamExtraHeaders: buildUpstreamHeadersForExecute(retryModelId),
|
||||
clientHeaders: clientRawRequest?.headers ?? null,
|
||||
});
|
||||
|
||||
if (retryResult.response.ok) {
|
||||
|
||||
Reference in New Issue
Block a user