mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-06 04:50:16 -04:00
fix: REMOVED REPEAT SUMMARIZE BRUH
This commit is contained in:
parent
a6b7338308
commit
d337240c0b
|
@ -69,10 +69,6 @@ app.post("/respond", async (req, res) => {
|
|||
transferSession(req.body.CallSid, operatorPhone);
|
||||
twiml.say("We're connecting you to a counselor now.");
|
||||
|
||||
await addMessage(callId, Role.BOT, "");
|
||||
let summary = await summarize(callId);
|
||||
console.log(summary);
|
||||
|
||||
const dial = twiml.dial({});
|
||||
dial.number(operatorPhone);
|
||||
res.type("text/xml");
|
||||
|
|
Loading…
Reference in New Issue
Block a user