Skip to main content

ChatState

Agent Runtimes


Agent Runtimes / store/chatStore / ChatState

Interface: ChatState

Defined in: stores/chatStore.ts:99

Chat store state

Properties

config

config: ChatConfig

Defined in: stores/chatStore.ts:101


currentThreadId

currentThreadId: string | null

Defined in: stores/chatStore.ts:118


error

error: Error | null

Defined in: stores/chatStore.ts:133


extensionRegistry

extensionRegistry: ExtensionRegistry | null

Defined in: stores/chatStore.ts:109


extensions

extensions: Map<string, ExtensionRegistryEntry>

Defined in: stores/chatStore.ts:126


inferenceProvider

inferenceProvider: InferenceProvider | null

Defined in: stores/chatStore.ts:105


isLoading

isLoading: boolean

Defined in: stores/chatStore.ts:113


isOpen

isOpen: boolean

Defined in: stores/chatStore.ts:132


isStreaming

isStreaming: boolean

Defined in: stores/chatStore.ts:114


messages

messages: ChatMessage[]

Defined in: stores/chatStore.ts:112


middlewarePipeline

middlewarePipeline: MiddlewarePipeline | null

Defined in: stores/chatStore.ts:108


middlewares

middlewares: ChatMiddleware[]

Defined in: stores/chatStore.ts:129


pendingToolCalls

pendingToolCalls: Map<string, ToolCallState>

Defined in: stores/chatStore.ts:123


protocolAdapter

protocolAdapter: ProtocolAdapter | null

Defined in: stores/chatStore.ts:106


ready

ready: boolean

Defined in: stores/chatStore.ts:102


streamingMessageId

streamingMessageId: string | null

Defined in: stores/chatStore.ts:115


suggestions

suggestions: string[]

Defined in: stores/chatStore.ts:134


threads

threads: Map<string, ChatThread>

Defined in: stores/chatStore.ts:119


toolExecutor

toolExecutor: ToolExecutor | null

Defined in: stores/chatStore.ts:107


tools

tools: Map<string, ToolRegistryEntry>

Defined in: stores/chatStore.ts:122