is there a such thing as non blocking function too...
# ask-ai
g
is there a such thing as non blocking function tool call or async tool call ? So gemini flash latest does not truncate it's output if it decides to do tool call during the middle output generation ?
t
Thanks for reaching out, Vrishabh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! I wanted to share that LiveKit currently supports only synchronous tool calls, which means that output generation might pause or get cut off if a tool call happens during the process. At the moment, there isn’t an option for non-blocking or asynchronous tool calls. If you’re running into any specific issues with output being truncated, please don’t hesitate to let me know. I’m here to help and can suggest some workarounds or guide you through possible solutions. Sources: livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realti... | xAI LLM plugin guide | LiveKit Docs | Groq LLM plugin guide | LiveKit Docs