-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anthropic stream flag first reasoning message as final with AWS Bedrock #762
Comments
Thanks for the report. Could you please give a bit more context - maybe a snippet with your agent, etc? |
Hello @sydney-runkle. Thanks for your help. I will work on building a small snippet. Generally, this is a simple agent with one tool, retrieving data from a DB. Instead of returning the summary, like what I get with agent.run(), agent.run_stream will output the result of the first LLM call, for example, sthg like: "I will help you with this task, Let me fetch the data". |
Hello @sydney-runkle , sorry for the initial issue, that was missing enough information indeed
It will result with:
Also the first way of calling the agent (run_stream), will not lead to a last call to claude, compared to the one with run, where the output results from the output of the tool + claude request |
With my agent connected to anthropic. If I do run() the result will be the last message of the agent, resulting from the different tool call. However using:
I will stream only the first message made by the agent, basically explaining that it will do a tool call. I expect to stream the last message only.
Do I need to configure this differently? Thanks
The text was updated successfully, but these errors were encountered: