Skip to content

Interface: AiErrorDetails ​

What an AiError says of a model request that has no answer, as the host answered it.

Properties ​

kind ​

ts
kind: AiFailureKind;

questionIds? ​

ts
optional questionIds?: string[];

The questions a decision's model refused.


retryable ​

ts
retryable: boolean;

retryAfterMs? ​

ts
optional retryAfterMs?: number;

status? ​

ts
optional status?: number;

The vendor's HTTP status, for a vendor failure.


usage? ​

ts
optional usage?: AiUsage;

The tokens the request used before it failed.

Released under the Apache-2.0 License.