hashbrown

ChatResourceOptions

Configuration options for the chat resource.

API

ChatResourceOptions
@typeTools
Chat.AnyTool
apiUrl
string

The API URL to use for the chat.

debounce
number

The debounce time for the chat.

debugName
string

The debug name for the chat.

messages
Chat.Message<string, Tools>[] | Signal<Chat.Message<string, Tools>[]>

The initial messages for the chat.

model
KnownModelIds | Signal<KnownModelIds>

The model to use for the chat.

system
string | Signal<string>

The system prompt to use for the chat.

tools
Tools[]

The tools to use for the chat.