From 4ef5fce9240b64c131bcf36f21be5afa35b2be74 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 26 Feb 2026 02:03:17 -0800 Subject: [PATCH] =?UTF-8?q?fix(llm-gateway):=20fix=20TS=20error=20?= =?UTF-8?q?=E2=80=94=20embeddings=20handler=20has=20no=20injection=20varia?= =?UTF-8?q?ble?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- packages/services/llm-gateway/src/proxy/openai-proxy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/services/llm-gateway/src/proxy/openai-proxy.ts b/packages/services/llm-gateway/src/proxy/openai-proxy.ts index 6e51a08..d27711e 100644 --- a/packages/services/llm-gateway/src/proxy/openai-proxy.ts +++ b/packages/services/llm-gateway/src/proxy/openai-proxy.ts @@ -64,7 +64,7 @@ export function createOpenAIEmbeddingsProxy(config: GatewayConfig) { requestIp: clientIp, contentFiltered: false, filterRuleId: null, - injectionApplied: injection.applied, + injectionApplied: false, responseStatus: 502, durationMs: Date.now() - startTime, }); @@ -106,7 +106,7 @@ export function createOpenAIEmbeddingsProxy(config: GatewayConfig) { requestIp: clientIp, contentFiltered: false, filterRuleId: null, - injectionApplied: injection.applied, + injectionApplied: false, responseStatus: upstreamResponse.status, durationMs, });