Kind: Type
Source: atloria-monorepo/libs/agent-core/src/runtime/model-provider-interface.ts
A single item in the conversation input. Intentionally simple — providers map to their API's format internally.
Definition
ts| { role: 'user'; content: string }
| { role: 'assistant'; content: string; toolCalls?: ModelToolCall[] }
| { role: 'tool'; toolCallId: string; content: string }
Was this page helpful?