Skip to content

Commit 8f43009

Browse files
authored
Fix example typo
Closes #146.
1 parent 34754e5 commit 8f43009

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -334,16 +334,14 @@ As discussed in [Customizing the role per prompt](#customizing-the-role-per-prom
334334

335335
```js
336336
const followup = await session.prompt([
337-
[
338-
{
339-
role: "user",
340-
content: "I'm nervous about my presentation tomorrow"
341-
},
342-
{
343-
role: "assistant"
344-
content: "Presentations are tough!"
345-
}
346-
]
337+
{
338+
role: "user",
339+
content: "I'm nervous about my presentation tomorrow"
340+
},
341+
{
342+
role: "assistant"
343+
content: "Presentations are tough!"
344+
}
347345
]);
348346

349347
// `followup` might be something like "Here are some tips for staying calm.", or

0 commit comments

Comments
 (0)