Calling /api/chat/completed at the end of a conversation occasionally results in a 500 Internal Server Error.
When this error occurs, it makes it impossible to continue the conversation, the typed text is not sent, and the page's click events are taken up. And it was only through the console that I realized that this error was the cause. Expect to be able to optimize the handling of this error, as well as I'm not sure why it causes the request to go wrong. Bug Summary:
[Provide a brief but clear summary of the bug]
/api/chat/completed
500 Internal Server Error Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
in the process of typing a text chat
Environment
Open WebUI Version: [v0.3.10]
Ollama (if applicable): Not using Ollama Using the OpenAI API
Originally created by @zhangyongcun on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4229
# Bug Report
## Description
Calling /api/chat/completed at the end of a conversation occasionally results in a 500 Internal Server Error.
When this error occurs, it makes it impossible to continue the conversation, the typed text is not sent, and the page's click events are taken up. And it was only through the console that I realized that this error was the cause. Expect to be able to optimize the handling of this error, as well as I'm not sure why it causes the request to go wrong.
**Bug Summary:**
[Provide a brief but clear summary of the bug]
/api/chat/completed
500 Internal Server Error
**Steps to Reproduce:**
[Outline the steps to reproduce the bug. Be as detailed as possible.]
in the process of typing a text chat
## Environment
- **Open WebUI Version:** [v0.3.10]
- **Ollama (if applicable):** Not using Ollama Using the OpenAI API
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @zhangyongcun on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4229
Bug Report
Description
Calling /api/chat/completed at the end of a conversation occasionally results in a 500 Internal Server Error.
When this error occurs, it makes it impossible to continue the conversation, the typed text is not sent, and the page's click events are taken up. And it was only through the console that I realized that this error was the cause. Expect to be able to optimize the handling of this error, as well as I'm not sure why it causes the request to go wrong.
Bug Summary:
[Provide a brief but clear summary of the bug]
/api/chat/completed
500 Internal Server Error
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
in the process of typing a text chat
Environment
@zhangyongcun commented on GitHub (Jul 31, 2024):