From e148d0f515e3372f12b44fe1554f72f7d4cdb04f Mon Sep 17 00:00:00 2001 From: Sohan Basak Date: Wed, 13 Sep 2023 23:49:00 +0530 Subject: [PATCH] Update README.md to fixed documentation the `complete` method no longer exists. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) }