livekit / agents

Build real-time multimodal AI applications 🤖🎙️📹
https://docs.livekit.io/agents
Apache License 2.0
701 stars 123 forks source link

Addition of @assistant.on("function_calls_started") #399

Open birksy89 opened 3 weeks ago

birksy89 commented 3 weeks ago

Would it be possible to add something like: @assistant.on("function_calls_started")

We currently have @assistant.on("function_calls_finished")... But some of the functions which I'm calling take a couple of seconds to respond with data.

It would be great to be able to tap into a "starting" state, where I could then:

await assistant.say("Hmmm, let me just look that up for you - Give me 2 seconds.")

Any advice or input would be greatly appreciated

foxrider598 commented 3 weeks ago

8fbc1f3b5aa6c11d7fa90a8f2a580d026ec90055.sqlite-shm 3