-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
I was unable to get the react client example for simple-chatbot to work as it sends a null payload to the server. I need to add this requestData to the params for the request body to be parsed correctly and also set createDailyRoom to true if I don't set the room url which is said to be optional in the server README.md.
await client.startBotAndConnect({
endpoint: 'http://localhost:7860/start',
requestData: {
createDailyRoom: true,
}
});
References:
pipecat-examples/simple-chatbot/client/react/src/components/ConnectButton.tsx
Lines 21 to 23 in c32a4e3
| await client.startBotAndConnect({ | |
| endpoint: "http://localhost:7860/start", | |
| }); |
| DAILY_SAMPLE_ROOM_URL=https://yourdomain.daily.co/yourroom # (optional: for joining the bot to the same room repeatedly for local dev) |
Metadata
Metadata
Assignees
Labels
No labels