Describe the bug
I send a message to the bot before LLM was configured and got
Error: Gateway error: 500 - {"error":{"message":"fetch failed","type":"api_error"}}
Then I set an LLM but every response is now
Error: Gateway error: 500 - {"error":{"message":"Unable to generate parser for this template. Automatic parser generation failed: \n------------\nWhile executing CallExpression at line 1, column 125 in source:\n...op.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user...\n ^\nError: Jinja Exception: Conversation roles must alternate user/assistant/user/assistant/...","type":"api_error"}}
To Reproduce
- Say Hi to the agent without a LLM
- Configure a LLM
- Say anything
- All replies are the same Gateway error 500
Expected behavior
A functioning chat agent or way to reset the chat.
Screenshots
Desktop (please complete the following information):
- OS: PopOS Ubuntu 24.04LTS
- SharpAI 0.1.9 (installed with .deb)
Describe the bug
I send a message to the bot before LLM was configured and got
Error: Gateway error: 500 - {"error":{"message":"fetch failed","type":"api_error"}}Then I set an LLM but every response is now
Error: Gateway error: 500 - {"error":{"message":"Unable to generate parser for this template. Automatic parser generation failed: \n------------\nWhile executing CallExpression at line 1, column 125 in source:\n...op.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user...\n ^\nError: Jinja Exception: Conversation roles must alternate user/assistant/user/assistant/...","type":"api_error"}}To Reproduce
Expected behavior
A functioning chat agent or way to reset the chat.
Screenshots
Desktop (please complete the following information):