bedrock-claude-chat
bedrock-claude-chat copied to clipboard
[BUG] Chat Regenerate does not respect websocket preferences
Describe the bug
If you deploy with WS streaming disabled, requests to regenerate LLM responses will use WS regardless. This is a hazard for customers that need to deploy without WSS due to APIGW lack of private WS APIs.
To Reproduce
- Deploy v1.2.7 with VITE_APP_USE_STREAMING = false
- Start a conversation and wait for a response
- Click Regenerate
- Open devtools and notice the request to regenerate goes over WSS
Screenshots
Notice the initial POST, then multiple requests to regenerate are opening WSS connections