Interface: ModelCallStartEvent<TContext>
Defined in: packages/kernl/src/lifecycle.ts:92
Emitted when a model call starts.
Type Parameters
| Type Parameter | Default type |
|---|---|
TContext | unknown |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
agentId? | public | string | Agent ID if called within an agent context. | packages/kernl/src/lifecycle.ts:118 |
context? | public | Context<TContext> | Execution context if available. NOTE: Includes context.agent reference for tools - may be optimized in future. | packages/kernl/src/lifecycle.ts:125 |
kind | readonly | "model.call.start" | - | packages/kernl/src/lifecycle.ts:93 |
modelId | public | string | The model ID. | packages/kernl/src/lifecycle.ts:103 |
provider | public | string | The model provider. | packages/kernl/src/lifecycle.ts:98 |
settings | public | LanguageModelRequestSettings | Request settings passed to the model. | packages/kernl/src/lifecycle.ts:108 |
threadId? | public | string | Thread ID if called within a thread context. | packages/kernl/src/lifecycle.ts:113 |