Type Alias: ChatRole
ChatRole =
"system"|"developer"|"user"|"assistant"|"tool"
The roles OpenAI defines for a chat turn. ChatMessage.role is typed as
a plain string rather than this union, because providers add their own (for
example Databricks-hosted Claude replays a "reasoning" turn); use this when
you want the standard set named.