diff --git a/open-sse/executors/theoldllm.ts b/open-sse/executors/theoldllm.ts index 688e79eb2c..422452e7f2 100644 --- a/open-sse/executors/theoldllm.ts +++ b/open-sse/executors/theoldllm.ts @@ -108,13 +108,9 @@ export function mapModel(model: string): string { const TOKEN_SEED = "oldllm-client-2026"; const UA_PREFIX = CHROME_UA.slice(0, 20); // "Mozilla/5.0 (Windows" -type TheOldLlmProxy = { - type?: string; - host: string; - port: number; - username?: string | null; - password?: string | null; -} | null; +type TheOldLlmProxy = Awaited< + ReturnType +>; interface TheOldLlmFetchDependencies { resolveProxy: () => Promise; diff --git a/tests/unit/theoldllm-provider-proxy.test.ts b/tests/unit/theoldllm-provider-proxy.test.ts index f9092268b1..85505d84bf 100644 --- a/tests/unit/theoldllm-provider-proxy.test.ts +++ b/tests/unit/theoldllm-provider-proxy.test.ts @@ -10,6 +10,8 @@ test("theoldllm dispatches through its provider proxy assignment", async () => { port: 8080, username: "user", password: "secret", + family: "ipv4", + name: "residential-primary", }; let observedProxy: unknown = null; let fetchCalls = 0;