Skip to main content

ChatConfig

Agent Runtimes


Agent Runtimes / store/chatStore / ChatConfig

Interface: ChatConfig

Defined in: stores/chatStore.ts:35

Chat configuration options

Properties

apiBaseUrl?

optional apiBaseUrl?: string

Defined in: stores/chatStore.ts:43

API base URL for inference


apiKey?

optional apiKey?: string

Defined in: stores/chatStore.ts:46

API key for inference


customHeaders?

optional customHeaders?: Record<string, string>

Defined in: stores/chatStore.ts:67

Custom headers for API requests


debug?

optional debug?: boolean

Defined in: stores/chatStore.ts:58

Enable debug logging


defaultModel?

optional defaultModel?: string

Defined in: stores/chatStore.ts:49

Default model to use


defaultProtocol?

optional defaultProtocol?: "ag-ui" | "a2a" | "acp" | "vercel-ai" | "mcp-ui"

Defined in: stores/chatStore.ts:40

Default protocol type


defaultProvider?

optional defaultProvider?: "datalayer" | "openai" | "anthropic" | "self-hosted"

Defined in: stores/chatStore.ts:37

Default inference provider type


enableStreaming?

optional enableStreaming?: boolean

Defined in: stores/chatStore.ts:55

Enable streaming by default


persistToLocalStorage?

optional persistToLocalStorage?: boolean

Defined in: stores/chatStore.ts:64

Enable local storage persistence


requireToolApproval?

optional requireToolApproval?: boolean

Defined in: stores/chatStore.ts:52

Enable tool approval by default


sessionId?

optional sessionId?: string

Defined in: stores/chatStore.ts:61

Session ID for persistence