diegosouzapw/OmniRoute · error · TheOldLlmProxyUnavailableError

No active proxy is available for The Old LLM

Error message

No active proxy is available for The Old LLM

What it means

fetchTheOldLlmWithProviderProxy could not obtain any proxy: resolveProxyForProvider('theoldllm') returned nothing usable while a blocking proxy assignment exists for the provider. Requests to The Old LLM must go through a proxy, so without one the fetch is refused rather than sent direct.

Solutions

  1. Configure at least one proxy for the theoldllm provider in the proxies settings
  2. Remove the blocking proxy assignment if direct access is acceptable
  3. Surface a dashboard hint that the provider requires proxy configuration
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at open-sse/executors/theoldllm.ts:164 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/6115c55bc82f2bc6. Report an issue: GitHub.

Appendix: source

Thrown at open-sse/executors/theoldllm.ts:164

  dependencies?: TheOldLlmFetchDependencies
): Promise<Response> {
  let deps = dependencies;
  if (!deps) {
    const [
      { resolveProxyForProvider, hasBlockingProxyAssignmentForProvider },
      { runWithProxyContext },
    ] = await Promise.all([import("../../src/lib/db/proxies"), import("../utils/proxyFetch.ts")]);
    deps = {
      resolveProxy: () => resolveProxyForProvider("theoldllm"),
      runWithProxy: runWithProxyContext,
      fetch: globalThis.fetch,
      hasBlockingProxyAssignment: () => hasBlockingProxyAssignmentForProvider("theoldllm"),
    };
  }

  const proxy = await deps.resolveProxy();
  if (!proxy && deps.hasBlockingProxyAssignment?.()) {
    throw new TheOldLlmProxyUnavailableError("No active proxy is available for The Old LLM");
  }
  return deps.runWithProxy(proxy, () =>
    deps.fetch(API_URL, {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "X-Client-Version": "3.8.4",
        "X-Request-Token": generateRequestToken(),
        "User-Agent": CHROME_UA,
      },
      body: JSON.stringify(reqBody),
      signal,
    })
  );
}

async function directFetch(
  reqBody: Record<string, unknown>,

View on GitHub (pinned to a179ffed5b)