Skip to content

Commit a3d6165

Browse files
Add async to Confirm and booking as well
1 parent 57c25de commit a3d6165

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

assistants/assistant.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const assistant: CreateAssistantDTO | any = {
3535
},
3636
{
3737
name: "confirmDetails",
38+
async: true, // remove async to wait for BE response.
3839
description: "Confirms the details provided by the user.",
3940
parameters: {
4041
type: "object",
@@ -62,6 +63,7 @@ export const assistant: CreateAssistantDTO | any = {
6263
},
6364
{
6465
name: "bookTickets",
66+
async: true, // remove async to wait for BE response.
6567
description: "Books tickets for the user.",
6668
parameters: {
6769
type: "object",

pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function Home() {
1212
<div className="text-center">
1313
<h1 className="text-3xl">Welcome to Broadway Show Assistant</h1>
1414
<p className="text-slate-600">
15-
Talk with Paula to explore shows and book tickets.
15+
Talk with Paula to explore upcoming shows and book tickets.
1616
</p>
1717
</div>
1818
<Assistant />

0 commit comments

Comments
 (0)