Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(grok-llm-proxy): return silently when a queued visual client aborts
Alfredo Lopez2144d7a86775
diff --git a/grok-llm-proxy/src/server.ts b/grok-llm-proxy/src/server.tsindex 5e1af9fc8..ef9544a74 100644--- a/grok-llm-proxy/src/server.ts+++ b/grok-llm-proxy/src/server.ts@@ -398,6 +398,10 @@ export function createProxyApps(release = await visualStreamGate.acquire(parseAbort.signal, req.grokAdmissionDeadlineAt)} catch (err) {req.off('aborted', abortParse)+ // The client left while queued: nobody reads a refusal, and a departed+ // client is not gate saturation, so it is not logged as `visual_gate`.+ // Same rule as the ordinary path's `!abort.signal.aborted`.+ if (err instanceof RequestLimitError && err.kind === 'aborted') returnif (err instanceof RequestLimitError) {logger.warn({