pub type ResponseRole = Role;
Legacy alias of Role.
Role
pub enum ResponseRole { Assistant, Developer, System, Tool, User, Unknown(String), }
The author is the model.
The author is a developer-defined persona.
The author is the system prompt.
The author is a tool response.
The author is the end user.
Any other value emitted by the backend, preserved verbatim.