mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-23 15:48:07 +00:00
Fix readme
This commit is contained in:
@ -64,7 +64,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
role: chat_completion::MessageRole::user,
|
role: chat_completion::MessageRole::user,
|
||||||
content: String::from("What is Bitcoin?"),
|
content: String::from("What is Bitcoin?"),
|
||||||
name: None,
|
name: None,
|
||||||
function_call: None,
|
|
||||||
}],
|
}],
|
||||||
);
|
);
|
||||||
let result = client.chat_completion(req)?;
|
let result = client.chat_completion(req)?;
|
||||||
|
Reference in New Issue
Block a user