mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 23:25:39 +00:00
Fix readme
This commit is contained in:
@ -65,6 +65,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
role: chat_completion::MessageRole::user,
|
role: chat_completion::MessageRole::user,
|
||||||
content: chat_completion::Content::Text(String::from("What is bitcoin?")),
|
content: chat_completion::Content::Text(String::from("What is bitcoin?")),
|
||||||
name: None,
|
name: None,
|
||||||
|
tool_calls: None,
|
||||||
|
tool_call_id: None,
|
||||||
}],
|
}],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user