mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-08 05:40:17 -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);
|
transferSession(req.body.CallSid, operatorPhone);
|
||||||
twiml.say("We're connecting you to a counselor now.");
|
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({});
|
const dial = twiml.dial({});
|
||||||
dial.number(operatorPhone);
|
dial.number(operatorPhone);
|
||||||
res.type("text/xml");
|
res.type("text/xml");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user