Skip to content

Type Alias: ChatRole

ChatRole = z.infer<typeof ChatRoleSchema>

Standard OpenAI chat roles. Message.role stays a plain string because providers add values such as reasoning.