twilio-labs / call-gpt

Generative AI phone call toolkit using Twilio Media Streams.
MIT License
273 stars 114 forks source link

Getting this error a lot on latest code - tested -June 8 #39

Closed gauravkesharwani closed 3 months ago

gauravkesharwani commented 3 months ago

After taking the latest , getting this error a lot

To help you decide, let me ask: Do you need noise cancellation in your headphones? GPT -> user context length: 7 RangeError: Maximum call stack size exceeded at TextToSpeechService.generate (/Users/gauravkesharwani/Repo/call-gpt/services/tts-service.js:36:44) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

cweems commented 3 months ago

@gauravkesharwani can you pull this change and see if you are able to reproduce the same error? It should be fixed now.

gauravkesharwani commented 3 months ago

issue is resolved now.. thank you so much!!

On Sat, Jun 8, 2024 at 9:10 PM Charlie Weems @.***> wrote:

@gauravkesharwani https://github.com/gauravkesharwani can you pull this change and see if you are able to reproduce the same error? It should be fixed now.

— Reply to this email directly, view it on GitHub https://github.com/twilio-labs/call-gpt/issues/39#issuecomment-2156306986, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLLE6VCSTT764UDXSY6RVTZGPISJAVCNFSM6AAAAABJAM5GXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGMYDMOJYGY . You are receiving this because you were mentioned.Message ID: @.***>