Erroneous error messages with Bedrock : A conversation must start with a user message. #8560
Replies: 2 comments
-
Context is indeed getting exceeded, but I agree the error message could be better. Are you at liberty to share the conversation from export (top-right "share" button)? |
Beta Was this translation helpful? Give feedback.
-
here is an example with 2 large cybersec docs, in this case the context window of Claude is still big enough but Deepseek complains with the message ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
When using AWS Bedrock with certain models (Deepseek, Claude) and using RAG API with several attachments I am getting the error message "A conversation must start with a user message. Try again with a conversation that starts with a user message." . I assume this happens because the attachments and plus prompt do not fit the context window but it seems the attachments are added first and then the prompt so that perahps the prompt is ignored ? It should show the typical errro message:
The model returned the following errors: Input is too long for requested model.
Version Information
ochat@peters-chat:~/LibreChat$ docker images | grep librechat
ghcr.io/danny-avila/librechat-dev-api latest cd3432a5c3f6 57 minutes ago 1.18GB
ghcr.io/danny-avila/librechat-dev-api 70065060a0ed 3 days ago 1.19GB
ghcr.io/danny-avila/librechat-dev-api b87bbe4049a3 8 days ago 1.18GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 8858d2bd9ff5 9 days ago 1.48GB
ghcr.io/danny-avila/librechat-dev-api 03a5fd399ee9 2 weeks ago 1.18GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 13e75a2c0e7a 2 weeks ago 1.48GB
ghcr.io/danny-avila/librechat-dev-api 6e5bce386b73 2 weeks ago 1.19GB
ghcr.io/danny-avila/librechat-dev-api ec732384bd62 6 weeks ago 1.12GB
ghcr.io/danny-avila/librechat-dev-api 506e43540118 8 weeks ago 1.1GB
ghcr.io/danny-avila/librechat-dev-api 44c1aef1f791 2 months ago 1.1GB
ghcr.io/danny-avila/librechat-dev-api 80d5028342c5 2 months ago 1.09GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite e7da8e6aca0f 2 months ago 1.31GB
ghcr.io/danny-avila/librechat-dev-api 65526bf57a1d 2 months ago 1.09GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 817faebddae9 3 months ago 1.31GB
Steps to Reproduce
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions