fix: increase VIN decode timeout for Gemini cold start #230
@@ -86,7 +86,9 @@ export const vehiclesApi = {
|
||||
* Requires Pro or Enterprise tier
|
||||
*/
|
||||
decodeVin: async (vin: string): Promise<DecodedVehicleData> => {
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user