langflow
langflow copied to clipboard
Amazon bedrock compatibility issue in Agent component in certain rare specific use cases
Bug Description
Amazon BedRock in the Agent Component component works well if the session in the playground is empty with no other chats. But if there are any previous chats that use any other providers in session, it causes an issue.
This is noticed only when Amazon Bedrock provider is used after using any other providers in the agent component.
Logging for future debugging.
Reproduction
- use agent component with any provider apart from Amazon Bedrock.
- Now change provider to Amazon Bedrock without clearing the chat session.
Possible debug: Playground events with errors blocking other agent execution. Add test cases to test this scenario.
Expected behavior
Should work fine even when the provider is switched and executed.
Who can help?
No response
Operating System
Mac Os
Langflow Version
1.1
Python Version
None
Screenshot
No response
Flow File
No response