Options for the UI chat resource.
API
interface UiChatResourceOptions<Tools extends Chat.AnyTool> {
apiUrl?: string;
components: ExposedComponent < any > [];
debounce?: number;
debugName?: string;
messages?: Chat.Message<s.Infer<UiChatMessageOutput>, Tools>[];
model: KnownModelIds ;
system: string | Signal <string>;
tools?: Tools[];
}
UiChatResourceOptions
@type
Tools
Chat.AnyTool