Skip to content

Implement tool_calls handling for chat completions streaming pipeline #507

@declark1

Description

@declark1

For chat completions streaming, tool_calls is not currently being set for the chat completion chunk choice in output_detection_response() as the logic to merge tool call chunks has not yet been implemented.

merge_tool_calls() is being added with #498, which can be leveraged here, however, this needs further investigation and testing and additional logic may be required to properly build tool_calls for batches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions