Skip to main content

Interface: ChatState

Defined in: react/src/chat.ts:6

Extended by​

Properties​

error?​

optional error?: Error

Defined in: react/src/chat.ts:14


progress?​

optional progress?: string

Defined in: react/src/chat.ts:11

Progress worth showing while it starts, e.g. "Starting Codex…".


provider?​

optional provider?: ProviderInfo

Defined in: react/src/chat.ts:13

Who answers.


status​

status: "idle" | "running" | "done" | "error"

Defined in: react/src/chat.ts:7


text​

text: string

Defined in: react/src/chat.ts:9

The answer so far, streamed.