From d64cd56989876eceb092bc52acb9c004d820a92b Mon Sep 17 00:00:00 2001 From: Roland Bouman Date: Mon, 25 Aug 2025 10:20:02 +0200 Subject: [PATCH] Fix https://github.com/webmachinelearning/prompt-api/issues/146 --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c622ec7..ce098e2 100644 --- a/README.md +++ b/README.md @@ -334,16 +334,14 @@ As discussed in [Customizing the role per prompt](#customizing-the-role-per-prom ```js const followup = await session.prompt([ -[ - { - role: "user", - content: "I'm nervous about my presentation tomorrow" - }, - { - role: "assistant" - content: "Presentations are tough!" - } - ] + { + role: "user", + content: "I'm nervous about my presentation tomorrow" + }, + { + role: "assistant" + content: "Presentations are tough!" + } ]); // `followup` might be something like "Here are some tips for staying calm.", or