Interface FallbackSignal

interface FallbackSignal {
    fired: boolean;
    finalProvider: string;
    finalModel: string;
    hops: {
        provider: string;
        model?: string;
        ok: boolean;
    }[];
}

Properties

fired: boolean

True when a non-primary provider was used or tried for this result.

finalProvider: string

Provider that produced the returned result.

finalModel: string

Model that produced the returned result.

hops: {
    provider: string;
    model?: string;
    ok: boolean;
}[]

Ordered trail of every provider hop attempted, in order.

Type declaration

  • provider: string
  • Optional model?: string
  • ok: boolean