API Reference
ModelRequest
Defined in: model.types.ts:34
Everything the model needs to produce the next assistant turn.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
messages | Message[] | The conversation history to continue from. | model.types.ts:38 |
signal? | AbortSignal | Optional signal to cancel the in-flight request. | model.types.ts:42 |
system? | string | Optional system prompt. | model.types.ts:36 |
tools? | ToolSpec[] | Tools the model may call this turn, if any. | model.types.ts:40 |