Skip to content

Have print_streaming_chunk by default in Agents #15

@bilgeyucel

Description

@bilgeyucel

Is your feature request related to a problem? Please describe.
Agents might take some time to resolve a user query, and the reasoning process is not transparent. We need to enable streaming by default to provide more visibility into tool calls and results

Describe the solution you'd like
Currently, there's no default value for streaming_callback of the Agent component and we have a print_streaming_chunk util function for generators https://github.com/bilgeyucel/haystack-personal-fork/blob/main/haystack/components/generators/utils.py

We can set it as the default value for streaming_callback parameter

Describe alternatives you've considered
Leave it as it is.

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