agents icon indicating copy to clipboard operation
agents copied to clipboard

Return function calling results to the client

Open hoangtran98 opened this issue 4 months ago • 5 comments

Hi team,

I have been tweaking with event loop and event emitter to send back function calling results to the client on "function_calls_finished" event, but haven't been able to make it work. As assistant.on() takes a synchronous callback, I am trying to use the event loop to create task. Often it conflicts with TTS segment forwarder, causing it to be destroyed. I am just wondering if there's any ways I could work around this.

Thanks

Hoang

hoangtran98 avatar Oct 01 '24 13:10 hoangtran98