AWS ChatBedrock throws error "output values have 1 keys, you must specify an output key or pass only 1 key as output" or "Unsupported message content format" error.
Note: if you choose an Anthropic model model from the drop down it throws another error: Failed to access underlying url 'bedrock-runtime.us-east-1.amazonaws.com': got 400 Bad Request: {"message":"Invocation of model ID anthropic.claude-3-5-sonnet-20241022-v2:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model."}
Expected behavior
The proper model dialog response and function calling
Screenshots
Flow
If applicable, add exported flow in order to help replicating the problem.
Setup
Flowise 2.1.3.
Additional context
Add any other context about the problem here.
Describe the bug
AWS ChatBedrock throws error "output values have 1 keys, you must specify an output key or pass only 1 key as output" or "Unsupported message content format" error.
To Reproduce Steps to reproduce the behavior:
Connect Tool Agent to AWS ChatBedrock Setup AWS credentials with access to Anthropic Bedrock models Select a supported model from cross-region inference profiles (https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html) .
Note: if you choose an Anthropic model model from the drop down it throws another error: Failed to access underlying url 'bedrock-runtime.us-east-1.amazonaws.com': got 400 Bad Request: {"message":"Invocation of model ID anthropic.claude-3-5-sonnet-20241022-v2:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN of an inference profile that contains this model."}
Expected behavior The proper model dialog response and function calling
Screenshots
Flow If applicable, add exported flow in order to help replicating the problem.
Setup
Flowise 2.1.3.
Additional context Add any other context about the problem here.