langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Amazon bedrock compatibility issue in Agent component in certain rare specific use cases

Open edwinjosechittilappilly opened this issue 3 months ago • 0 comments

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

  1. use agent component with any provider apart from Amazon Bedrock.
  2. 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

edwinjosechittilappilly avatar Nov 15 '24 22:11 edwinjosechittilappilly