Bedrock throws error on forking a conversation #4795
-
What happened?I forked a conversation using the fork button above the text input box. The fork was successful but chatting in the new forked conversation throws error. In the docker container logs, I see this error
It's an issue only with bedrock. It works if I select OpenAI model in the forked conversation. Steps to Reproduce
What browsers are you seeing the problem on?Safari Relevant log output2024-11-26 16:27:10 error: [handleAbortError] AI response error; aborting request: A conversation must start with a user message. Try again with a conversation that starts with a user message.
2024-11-26 16:27:16 error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type A conversation must start with a user message. Try again with a conversation that starts with a user mess ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Try forking at a point that starts with a user message. It's a provider limitation because OpenAI does support the assistant role as the first message type, but Bedrock does not. I prefer to leave the error because this would not occlude the fact that the context is limited in some way other than the context window. |
Beta Was this translation helpful? Give feedback.
Try forking at a point that starts with a user message. It's a provider limitation because OpenAI does support the assistant role as the first message type, but Bedrock does not. I prefer to leave the error because this would not occlude the fact that the context is limited in some way other than the context window.