ChatConfig
Agent Runtimes / store/chatStore / ChatConfig
Interface: ChatConfig
Defined in: stores/chatStore.ts:35
Chat configuration options
Properties
apiBaseUrl?
optionalapiBaseUrl?:string
Defined in: stores/chatStore.ts:43
API base URL for inference
apiKey?
optionalapiKey?:string
Defined in: stores/chatStore.ts:46
API key for inference
customHeaders?
optionalcustomHeaders?:Record<string,string>
Defined in: stores/chatStore.ts:67
Custom headers for API requests
debug?
optionaldebug?:boolean
Defined in: stores/chatStore.ts:58
Enable debug logging
defaultModel?
optionaldefaultModel?:string
Defined in: stores/chatStore.ts:49
Default model to use
defaultProtocol?
optionaldefaultProtocol?:"ag-ui"|"a2a"|"acp"|"vercel-ai"|"mcp-ui"
Defined in: stores/chatStore.ts:40
Default protocol type
defaultProvider?
optionaldefaultProvider?:"datalayer"|"openai"|"anthropic"|"self-hosted"
Defined in: stores/chatStore.ts:37
Default inference provider type
enableStreaming?
optionalenableStreaming?:boolean
Defined in: stores/chatStore.ts:55
Enable streaming by default
persistToLocalStorage?
optionalpersistToLocalStorage?:boolean
Defined in: stores/chatStore.ts:64
Enable local storage persistence
requireToolApproval?
optionalrequireToolApproval?:boolean
Defined in: stores/chatStore.ts:52
Enable tool approval by default
sessionId?
optionalsessionId?:string
Defined in: stores/chatStore.ts:61
Session ID for persistence