Skip to content

Commit 1965624

Browse files
author
Dongri Jin
authored
Merge pull request #24 from night-cruise/fix/fix-readme-example
Fix the bug of readme example
2 parents a747aa8 + 35ae412 commit 1965624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
7373
model: chat_completion::GPT4.to_string(),
7474
messages: vec![chat_completion::ChatCompletionMessage {
7575
role: chat_completion::MessageRole::user,
76-
content: Some(String::from("What is Bitcoin?")),
76+
content: String::from("What is Bitcoin?"),
7777
name: None,
7878
function_call: None,
7979
}],

0 commit comments

Comments
 (0)