You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to hangup the phone in a LLM tool call, so in the tool context I called llm.push_frame(EndFrame()), but this could not hangup the call.
So is it possible to hangup the phone call in a LLM tool call context? In the twilio document it says the only way to hangup the call is close the websocket. I know the FastAPIWebsocketInputTransport will close websocket when it process EndFrame. But I cannot get the reference from a llm tool context. How should i do this?
Some other information:
use Twilio bidirectional stream to connect call to LLM;
use FastAPIWebsocketTransport
So any suggestions? Thanks!
The text was updated successfully, but these errors were encountered:
I want to hangup the phone in a LLM tool call, so in the tool context I called llm.push_frame(EndFrame()), but this could not hangup the call.
So is it possible to hangup the phone call in a LLM tool call context? In the twilio document it says the only way to hangup the call is close the websocket. I know the FastAPIWebsocketInputTransport will close websocket when it process EndFrame. But I cannot get the reference from a llm tool context. How should i do this?
Some other information:
So any suggestions? Thanks!
The text was updated successfully, but these errors were encountered: