You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to inherit the agent module and rewrite create as create_stream. However, this causes issues with tool usage, resulting in empty returns. The reason for this is that the create and create_stream methods in the OpenAIChatCompleteClient class are written inconsistently.
Why is this needed?
The hope is to support internal streaming returns in the agent, with the utility functions returning non-empty values.
The text was updated successfully, but these errors were encountered:
I'm confused about the issue mentioned in #3862. What I currently need is the effect of using await self._model_client.create_stream in on_messages_stream. However, it seems that await self._model_client.create is being used now. This results in information being returned to the user only after each agent has finished running, which is not a good user experience.
run_stream allows me to obtain the information after each Agent has finished executing, but it doesn't provide the streaming output content like create_stream does.
What feature would you like to be added?
I want to inherit the
agent
module and rewritecreate
ascreate_stream
. However, this causes issues with tool usage, resulting in empty returns. The reason for this is that thecreate
andcreate_stream
methods in theOpenAIChatCompleteClient
class are written inconsistently.Why is this needed?
The hope is to support internal streaming returns in the agent, with the utility functions returning non-empty values.
The text was updated successfully, but these errors were encountered: