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
In langchain_aws/llms/bedrock.py the "stop_sequence" hardcoded for msg_type == "message_delta" -
Shouldn't this be captured using the LLM provider type with self._get_provider()
This breaks integration with bedrock guardrails and langchain agents when guardrails intervene
If there are any workarounds for this fix please let me know. adding a provider_stop_sequence_key_name_map works for other issues but not in this case, when guardrails intervene and enter the msg_type == "message_delta" block
Hello,
In
langchain_aws/llms/bedrock.py
the "stop_sequence" hardcoded for msg_type == "message_delta" -Shouldn't this be captured using the LLM provider type with
self._get_provider()
This breaks integration with bedrock guardrails and langchain agents when guardrails intervene
The text was updated successfully, but these errors were encountered: