Configuration options for the chat resource.
@template Tools @property {string | Signal
API
interface ChatResourceOptions<Tools extends Chat.AnyTool> {
apiUrl?: string;
debounce?: number;
debugName?: string;
messages?: Chat.Message<string, Tools>[] | Signal<Chat.Message<string, Tools>[]>;
model: KnownModelIds |
Signal < KnownModelIds >;
system: string | Signal <string>;
tools?: Tools[];
}
ChatResourceOptions
@type
Tools
Chat.AnyTool