* Send a conversation to the LLM and return a streamed response. * * @param systemPrompt - System-level instruction prepended to the request. * @param tools - Tool definitions the model may invoke. * @param history - The conversation history (user, assistant, tool messages). * @param
(
systemPrompt: string,
tools: Tool[],
history: Message[],
options?: GenerateOptions,
)
| 194 | * @param options - Optional per-call settings such as an {@link AbortSignal}. |
| 195 | */ |
| 196 | generate( |
| 197 | systemPrompt: string, |
| 198 | tools: Tool[], |
| 199 | history: Message[], |
no outgoing calls