Type Aliases

WireRole

Type Alias: WireRole

WireRole = "system" | "user" | "assistant"

Defined in: src/adapters/types.ts:130

The roles a provider can carry INSIDE the messages array.

'tool' is deliberately absent: a tool message is an answer to a specific tool_use id, so it cannot be authored by an injection — there is no call for it to answer. See LLMProvider.carriesInMessages.

On this page