From 554e0bcf74c035e8ec650e04f3d66e54b387546f Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Sun, 1 Sep 2024 20:11:55 -0700 Subject: [PATCH] fix complex API usage example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f31344d..e9a6863 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ console.log(message.content); ⚠️ Not all of the arguments below are implemented yet. ```js -const { data } = await prompt({ +await prompt({ model: "gpt-4o", token: process.env.TOKEN, system: "You are a helpful assistant.",