mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
Putting an accent in a prompt causes Ollama EOF error #451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pietrini on GitHub (Mar 10, 2024).
Bug Report
Description
Bug Summary:
Accents causing EOF issue. Pay attention to the logs where I've asked the same thing (in french) with and without accents. I've tested this directly with Ollama in terminal and with another UI client (Enchanted LLM) and it works.
Steps to Reproduce:
Type a prompt containing any accent like é.
Actual Behavior:
Internal error 500 returned by Ollama server.
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
N/A
Docker Container Logs:
2024-03-10 10:14:26 INFO: 192.168.65.1:20270 - "POST /api/v1/chats/new HTTP/1.1" 200 OK
2024-03-10 10:14:26 INFO: 192.168.65.1:20270 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:26 http://host.docker.internal:11434
2024-03-10 10:14:26 {"model":"mixtral:latest","messages":[{"role":"user","content":"Rédige moi un email pour expliquer à mon patron que je souhaite quitter son entreprise. Tu es un avocat. Soit concis et formel."},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-10 10:14:26 INFO: 192.168.65.1:20270 - "POST /ollama/api/chat HTTP/1.1" 500 Internal Server Error
2024-03-10 10:14:26 http://host.docker.internal:11434
2024-03-10 10:14:26 INFO: 192.168.65.1:20270 - "POST /ollama/api/generate HTTP/1.1" 500 Internal Server Error
2024-03-10 10:14:43 INFO: 192.168.65.1:20271 - "POST /api/v1/chats/new HTTP/1.1" 200 OK
2024-03-10 10:14:43 INFO: 192.168.65.1:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:45 http://host.docker.internal:11434
2024-03-10 10:14:45 {"model":"mixtral:latest","messages":[{"role":"user","content":"Redige moi un email pour expliquer a mon patron que je souhaite quitter son entreprise. Tu es un avocat. Soit concis et formel."},{"role":"assistant","content":""}],"options":{},"stream":true}
2024-03-10 10:14:45 INFO: 192.168.65.1:20271 - "POST /ollama/api/chat HTTP/1.1" 200 OK
2024-03-10 10:14:53 INFO: 192.168.65.1:20271 - "POST /api/v1/chats/3a480ba3-b2b2-45f5-aa76-386fbe70db46 HTTP/1.1" 200 OK
2024-03-10 10:14:53 INFO: 192.168.65.1:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:55 http://host.docker.internal:11434
2024-03-10 10:14:55 INFO: 192.168.65.1:20271 - "POST /ollama/api/generate HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO: 192.168.65.1:20271 - "POST /api/v1/chats/3a480ba3-b2b2-45f5-aa76-386fbe70db46 HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO: 192.168.65.1:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
2024-03-10 10:14:55 INFO: 192.168.65.1:20271 - "GET /api/v1/chats/ HTTP/1.1" 200 OK
Screenshots (if applicable):

Installation Method
Docker desktop + Ollama desktop app
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Mar 10, 2024):
Cannot reproduce the issue, seems to be working fine with the latest version. Could you make sure you're on the latest version?
@pietrini commented on GitHub (Mar 10, 2024):
Hi @tjbck thanks a lot for your swift answer ! I just deleted everything and reinstalled a fresh image image through docker and it works as expected.
I think I did a mistake during the latest update, all good now !
Have a great day !