mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #14432] issue: After update /api/v1/retrieval/query/collection return 400 #55917
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 @SebaGue on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14432
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.11
Ollama Version (if applicable)
No response
Operating System
Debian 6.12.17-1
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
should return 200 as aspected
Actual Behavior
Same call now return 400
Steps to Reproduce
1.Pulled new docker version
ghcr.io/open-webui/open-webui:main2.Up the service
3.With api create a new user with a group, create a model only for that user with private visibility, create a knowledge with some files and add this to the model
4.Make the api request to
/api/v1/retrieval/query/collection5.Get the response with 200 status code
Logs & Screenshots
Traceback (most recent call last):
Additional Information
Maybe missing field into the BaseModel from
backend/open_webui/routers/retrieval.py#L1831@Pekary commented on GitHub (May 28, 2025):
the interface of ollama has changed so open-webui can't get embeddings.
there are no response when using blow commands:
using below command got correct result(note 'input' has changed to 'prompt'):
@rgaricano commented on GitHub (May 28, 2025):
what ollama version do you use?
update it!
https://github.com/ollama/ollama/blob/main/docs/api.md#generate-embedding
@tjbck commented on GitHub (May 28, 2025):
Addressed with
4461122a0e@nem0nic commented on GitHub (May 29, 2025):
0.6.12 did not fix the issue. Still getting 400's especially when pasting anything.
@Pekary commented on GitHub (May 29, 2025):
@rgaricano 0.6.7-rc0, i tried to upgrade ollama to 0.8.0 which returns correct result using the first command. Sorry for taking up your time.