When I download a document, I get an error in the logs. Additionally, the responses are very slow to arrive.
I've the same problémes with other models with ollama (localhost)
Reproduction Details
Logs and Screenshots 👍
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO [open_webui.apps.retrieval.utils] query_doc_with_hybrid_search:result [[{'Content-Type': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'created_by': '64d1d537-db47-4edd-a95c-5725dcc4e7fb', 'embedding_config': '{"engine": "openai", "model": "mistral-embed"}', 'file_id': '05fb5fc6-84de-4efb-a590-c5abf6e5ac7e', 'hash': 'efcb5a4e...................................................................
........................................ INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO: 10.10.112.2:36282 - "POST /api/chat/completions HTTP/1.1" 200 OK
Thank for your help
Originally created by @Domi31tls on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7885
# Bug Report
## Installation Method
Docker v0.4.8
- API Mistral : https://api.mistral.ai/v1
- Model mistral_large
- Tika
Config rag :

- **Operating System:**ubuntu 24.04
- **Browser :chrome
## Description
When I download a document, I get an error in the logs. Additionally, the responses are very slow to arrive.
I've the same problémes with other models with ollama (localhost)
## Reproduction Details

## Logs and Screenshots :+1:
**INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'**
INFO [open_webui.apps.ollama.main] get_all_models()
INFO [open_webui.apps.retrieval.utils] query_doc_with_hybrid_search:result [[{'Content-Type': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'created_by': '64d1d537-db47-4edd-a95c-5725dcc4e7fb', 'embedding_config': '{"engine": "openai", "model": "mistral-embed"}', 'file_id': '05fb5fc6-84de-4efb-a590-c5abf6e5ac7e', 'hash': 'efcb5a4e...................................................................
........................................
**INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'**
INFO [open_webui.apps.ollama.main] get_all_models()
INFO: 10.10.112.2:36282 - "POST /api/chat/completions HTTP/1.1" 200 OK
Thank for your help
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 @Domi31tls on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7885
Bug Report
Installation Method
Docker v0.4.8
Config rag :
Description
When I download a document, I get an error in the logs. Additionally, the responses are very slow to arrive.
I've the same problémes with other models with ollama (localhost)
Reproduction Details
Logs and Screenshots 👍
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO [open_webui.apps.retrieval.utils] query_doc_with_hybrid_search:result [[{'Content-Type': 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'created_by': '64d1d537-db47-4edd-a95c-5725dcc4e7fb', 'embedding_config': '{"engine": "openai", "model": "mistral-embed"}', 'file_id': '05fb5fc6-84de-4efb-a590-c5abf6e5ac7e', 'hash': 'efcb5a4e...................................................................
........................................
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error: 404, message='Attempt to decode JSON with unexpected mimetype: ', url='http://10.23.0.3:9998/models'
INFO [open_webui.apps.ollama.main] get_all_models()
INFO: 10.10.112.2:36282 - "POST /api/chat/completions HTTP/1.1" 200 OK
Thank for your help