Open
Description
🚨 Please Note 🚨
To ensure efficient investigation of the issue, please fill out the fields below with as much detail as possible. Reports that do not follow this template may be closed without notification. We appreciate your cooperation.
🐞Describe the bug
The published API code uses 'ConverseStream' operation which is not supported by Anthropic Models

🔄 To Reproduce
Steps to reproduce the behavior:
- Create a bot
- Publish it
- POST to the '/conversation' endpoint with any anthropic model, my screenshots use
claude-v3.5-sonnet-v2
- The response will lie and say 'success' here's your ConversationId and MessageID
- Go to SQS queue and see that there's no messages waiting and there's none in flight
- Go to DynamoDB and see that nothing was created
📷 Screenshots
1. ERROR with Anthropic Model
1.b Error Logs on SQS Handler Lambda
2. Success with non anthropic model
2.a POST Message with Amazon Nova model
2.b SUCCESS Logs on SQS Handler Lambda

🔎 Logs for Chat Issues
n.a.
🔎 Logs for Bot Creation/Update Issues
n.a.
📝 Additional context
This was a tough bug to hunt down with the response saying it was successful on endpoint, but failing during the execution of the SQS Lambda which is a container image, so can't look at code in a straightforward manner.