Skip to content
Français

QuotaFault

import type { QuotaFault } from "@elie-laloum/outpost";
  • messageRequired
    string
    Message of the quota error, suitable for logs and pause records.
  • resetAtOptional
    string | undefined
    Valid ISO reset timestamp carried by the error details; absent when unknown or malformed.
  • conversationOptional
    string | undefined
    Conversation id of the agent turn the limit interrupted, when the error details carry one. Resuming it requires a captured conversation.
export interface QuotaFault {
  readonly message: string;
  /** ISO timestamp when the provider reported that the limit resets. */
  readonly resetAt?: string;
  /** Agent conversation interrupted by the limit, when the CLI reported one. */
  readonly conversation?: string;
}