Skip to content

Commit 554e0bc

Browse files
committed
fix complex API usage example
1 parent 43105ff commit 554e0bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ console.log(message.content);
324324
⚠️ Not all of the arguments below are implemented yet.
325325
326326
```js
327-
const { data } = await prompt({
327+
await prompt({
328328
model: "gpt-4o",
329329
token: process.env.TOKEN,
330330
system: "You are a helpful assistant.",

0 commit comments

Comments
 (0)