From 3b5b84729fbfc159b36a545f8e79eae03f1aa032 Mon Sep 17 00:00:00 2001 From: Eric Gullickson <16152721+ericgullickson@users.noreply.github.com> Date: Thu, 19 Feb 2026 21:30:31 -0600 Subject: [PATCH] fix: increase VIN decode timeout to 60s for Gemini cold start (refs #229) Default 10s API client timeout caused frontend "Failed to decode" errors when Gemini engine cold-starts (34s+ on first call). Co-Authored-By: Claude Opus 4.6 --- frontend/src/features/vehicles/api/vehicles.api.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/features/vehicles/api/vehicles.api.ts b/frontend/src/features/vehicles/api/vehicles.api.ts index d4c93f1..49ab6dd 100644 --- a/frontend/src/features/vehicles/api/vehicles.api.ts +++ b/frontend/src/features/vehicles/api/vehicles.api.ts @@ -86,7 +86,9 @@ export const vehiclesApi = { * Requires Pro or Enterprise tier */ decodeVin: async (vin: string): Promise => { - const response = await apiClient.post('/vehicles/decode-vin', { vin }); + const response = await apiClient.post('/vehicles/decode-vin', { vin }, { + timeout: 60000 // 60 seconds for Gemini cold start + }); return response.data; } };