MessageRole
MessageRole =
"system"|"user"|"assistant"|"tool"
Defined in: packages/ai.matey.types/src/ir.ts:31
Message role in a conversation.
Maps to roles across all major providers:
- system: Initial instructions/context (some providers use special parameter)
- user: Messages from the user
- assistant: Messages from the AI
- tool: Results from tool/function calls