mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-12-05 03:58:18 +00:00
Add function in role
This commit is contained in:
@@ -49,6 +49,7 @@ pub enum MessageRole {
|
||||
user,
|
||||
system,
|
||||
assistant,
|
||||
function,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user