From 554c4004d33537605fa240de04edc5b51ba8dff4 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Tue, 8 Oct 2024 18:08:42 -0400 Subject: [PATCH] Fixes --- src/api/providers/openrouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/providers/openrouter.ts b/src/api/providers/openrouter.ts index 52a9afa..8ecf2af 100644 --- a/src/api/providers/openrouter.ts +++ b/src/api/providers/openrouter.ts @@ -117,7 +117,7 @@ export class OpenRouterHandler implements ApiHandler { // } } - await delay(300) // FIXME: necessary delay to ensure generation endpoint is ready + await delay(500) // FIXME: necessary delay to ensure generation endpoint is ready try { const response = await axios.get(`https://openrouter.ai/api/v1/generation?id=${genId}`, {