Artifacts UI feature causes issues for Chat Completion on vLLM #4089
Unanswered
maeyounes
asked this question in
Troubleshooting
Replies: 1 comment 6 replies
-
It's too bad that the role order of messages is strict, as LibreChat will by default put the system message before the latest message, which works for OpenAI. I hope to add a new option where it will simply put the system message first, as expected here |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
When toggling on the Artifacts UI feature, subsequent messages after the first response are not possible. I use vLLM as backend. I get the following error:
| ERROR 09-17 08:38:44 serving_chat.py:134] Error in applying chat template from request: After the optional system message, conversation roles must alternate user/assistant/user/assistant/...
This happens whether Artifacts are used or not.
It seems that the feature injects some instructions in the prompt but then something go bad.
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