Replies: 1 comment
-
Hey @marcoimme the Agent component accepts any ChatGenerator at init time. I believe you could pass stream options then right? Or is there a reason you need to pass them at run time? Additionally, the streaming callback function is at least not directly related to stream options since streaming callback operates fully within Haystack. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I notice that haystack.components.agents.Agent component has streaming_callback param that, during run, is passed to chat generator component.
It could be useful having generation_kwargs as param as well since, for some chat generators like AzureOpenAIChatGenerator, is possible to set "stream_options" param that is strictly related to streaming_callback param?
Beta Was this translation helpful? Give feedback.
All reactions