mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
ps method not working through OpenWebUI - ValidationError
#258
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 @ckuethe on GitHub (Apr 6, 2025).
As the subject says, the
Client.psmethod doesn't work through OpenWebUI. I'm using python 3.10 under jupyter on Ubuntu 22.04, with ollama-python 0.4.7. The server is running Ubuntu 24.04, ollama 0.6.4, and OpenWebUI 0.6.1 (or whatever the latest is at the time)I think my library versions are all up to date:
I can connect to my LLM server and list the models I have downloaded... apparently 53 today.
If I run a model directly on the ollama host I can see that it runs and consumes VRAM:
I can do the same thing with ollama-python and get some reasonable output:
Seems like OpenWebUI is correctly passing my commands through to the backend ollama instance, but...
But when I just issue the API call directly, then I do get a meaningful response:
@ckuethe commented on GitHub (Sep 18, 2025):
Somebody changed something, and it seems to work now (ollama-python 0.5.8, ollama 0.11.11, openwebui 0.6.30)