Skip to content

feat: Add function call handler support to TTS for xAI tool calls#4815

Closed
russellmartin-livekit wants to merge 3 commits intomainfrom
rm/function-callback-for-xAI
Closed

feat: Add function call handler support to TTS for xAI tool calls#4815
russellmartin-livekit wants to merge 3 commits intomainfrom
rm/function-callback-for-xAI

Conversation

@russellmartin-livekit
Copy link
Contributor

  • Introduced a new FunctionCallHandler type for async handling of function tool calls.
  • Updated TTS class to include an optional function_call_handler parameter in its methods.
  • Implemented handling of function call events in the SynthesizeStream class, allowing for dynamic responses to model-invoked functions.

- Introduced a new `FunctionCallHandler` type for async handling of function tool calls.
- Updated TTS class to include an optional `function_call_handler` parameter in its methods.
- Implemented handling of function call events in the SynthesizeStream class, allowing for dynamic responses to model-invoked functions.
@russellmartin-livekit russellmartin-livekit requested a review from a team February 13, 2026 19:29
@russellmartin-livekit russellmartin-livekit self-assigned this Feb 13, 2026
@chenghao-mou chenghao-mou requested a review from a team February 13, 2026 19:29
devin-ai-integration[bot]

This comment was marked as resolved.

- Added error handling to send a function call output message when no function_call_handler is configured, including an error message in the output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments