The request exceeded its deadline. A timeout may occur after an inference request has begun processing.
Identification
Extends APIConnectionError. Inspect the error class when handling a rejected request.
Handle in application code
import {APITimeoutError} from "./ngila.mjs";
try {
await client.models();
} catch (error) {
if (!(error instanceof APITimeoutError)) throw error;
console.error(error.name);
}