Skip to content

Conversation

@andreadimaio
Copy link
Member

Introduced two new default callback methods in the chat streaming listener interface:

  • onPartialToolCall(PartialToolCall partialToolCall) – Invoked whenever a partial tool call is detected during the streaming process.
    Allows developers to handle incremental tool call arguments or metadata as they arrive in chunks.
  • onCompleteToolCall(ToolCall completeToolCall) – Invoked once the tool call is fully received and constructed.
    Enables developers to trigger downstream actions only when the complete tool call is available.

@andreadimaio andreadimaio self-assigned this Aug 13, 2025
Signed-off-by: andreadimaio <dmaio.andrea@gmail.com>
Signed-off-by: andreadimaio <dmaio.andrea@gmail.com>
@andreadimaio andreadimaio merged commit 6dd3c23 into main Aug 13, 2025
5 checks passed
@andreadimaio andreadimaio deleted the add_tool_handler branch August 13, 2025 07:43
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.

2 participants