Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion App/memmy-agent/src/providers/openai-compat-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const THINKING_STYLE_MAP: Record<string, (on: boolean) => Record<string, any>> =
const GATEWAY_REASONING_STYLE_MAP: Record<string, (effort: string) => Record<string, any>> = {
reasoning_effort: (effort) => ({ reasoning: { effort } }),
};
const OPENAI_COMPAT_REQUEST_TIMEOUT_S = 120.0;
const OPENAI_COMPAT_REQUEST_TIMEOUT_S = 300.0;

export const RESPONSES_FAILURE_THRESHOLD = 3;
export const RESPONSES_PROBE_INTERVAL_S = 300;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("OpenAI-compatible local timeout hints", () => {
expect((provider as any).client).toBeNull();
const client = await provider.ensureClient();

expect(client.timeout).toBe(120_000);
expect(client.timeout).toBe(300_000);
expect(client.fetchOptions).toBeUndefined();
});

Expand All @@ -37,7 +37,7 @@ describe("OpenAI-compatible local timeout hints", () => {

const client = await provider.ensureClient();

expect(client.timeout).toBe(120_000);
expect(client.timeout).toBe(300_000);
expect(client.fetchOptions.keepalive).toBe(false);
});

Expand Down
Loading