Interface PanelSeatRecord

One seat's record in a panel result.

interface PanelSeatRecord {
    seat: string;
    status: PanelSeatStatus;
    entry?: string;
    provider?: string;
    model?: string;
    responseModel?: string;
    substituted?: boolean;
    vendor?: string;
    finishReason?: string;
    truncated?: boolean;
    text: string;
    usage?: {
        promptTokens: number;
        completionTokens: number;
        totalTokens: number;
        costUSD?: number;
        cacheReadTokens?: number;
        cacheCreationTokens?: number;
    };
    durationMs: number;
    error?: string;
    fallback?: FallbackSignal;
}

Properties

seat: string

The seat's name in the roster, or 'chair'.

entry?: string

Pool entry name, when the seat was filled from the pool.

provider?: string

The provider that answered; the assigned one when the call never returned.

model?: string
responseModel?: string

The model id the provider reported.

substituted?: boolean

The provider answered from another model than the one requested.

vendor?: string

Who trained the model that answered, when known.

finishReason?: string
truncated?: boolean

Set on an ok seat whose finishReason is 'length' or 'tool-calls'.

text: string
usage?: {
    promptTokens: number;
    completionTokens: number;
    totalTokens: number;
    costUSD?: number;
    cacheReadTokens?: number;
    cacheCreationTokens?: number;
}

Type declaration

  • promptTokens: number
  • completionTokens: number
  • totalTokens: number
  • Optional costUSD?: number

    Cost in USD for this call, when available.

  • Optional cacheReadTokens?: number

    Tokens served from the provider's prompt-prefix cache for this call. Undefined when the provider does not report cache usage.

  • Optional cacheCreationTokens?: number

    Tokens written as a new prompt-prefix cache entry for this call. Undefined when the provider does not report cache usage.

durationMs: number
error?: string

Redacted: why the seat is not ok, when known.

fallback?: FallbackSignal

Present when the seat allowed failover and it fired.