Skip to content

Commit

Permalink
Fix function spelling on examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gembancud committed Jul 10, 2024
1 parent 8e468d2 commit 47e76d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/conversation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async fn main() -> anyhow::Result<()> {
// 5. Store the first assistant message.
request_body
.messages
.push(response.crate_message());
.push(response.create_message());

// 6. Add the second user message.
request_body
Expand All @@ -96,7 +96,7 @@ async fn main() -> anyhow::Result<()> {
// 9. Store the second assistant message.
request_body
.messages
.push(response.crate_message());
.push(response.create_message());

// Continue the conversation...

Expand Down

0 comments on commit 47e76d5

Please sign in to comment.