diff --git a/README.md b/README.md index 09ba8d8..c383ddb 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ async fn main() -> Result<(), Box> { println!( "{}{}", prompt, - client.complete(prompt.as_str()).await? + client.complete_prompt(prompt.as_str()).await? ); Ok(()) }