hashbrown

UiChatResourceOptions

Options for the UI chat resource.

API

UiChatResourceOptions
@typeTools
Chat.AnyTool
apiUrl
string

The API URL to use for the UI chat resource.

components
ExposedComponent<any>[]

The components to use for the UI chat resource.

debounce
number

The debounce time for the UI chat resource.

debugName
string

The debug name for the UI chat resource.

messages
Chat.Message<s.Infer<UiChatMessageOutput>, Tools>[]

The initial messages for the UI chat resource.

model
KnownModelIds

The model to use for the UI chat resource.

system
string | Signal<string> | SystemPrompt | Signal<SystemPrompt>

The system prompt to use for the UI chat resource.

tools
Tools[]

The tools to use for the UI chat resource.