mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
[Bug] Does not provide capabilities for /show api call #255
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 @adar2378 on GitHub (Apr 4, 2025).
Hi, please notice that ollama api docs says it provides capabilities via /show endpoint.
https://github.com/ollama/ollama/blob/main/docs/api.md#response-26
But this python sdk does not support that. Without it, it's hard to determine which models have what kind of capabilities.
@ckuethe commented on GitHub (Apr 9, 2025):
Same. My workaround is to do something like this:
@jayrinaldime commented on GitHub (Apr 28, 2025):
Hello,
Please consider my pull request to add capabilities in show api
https://github.com/ollama/ollama-python/pull/511
here is the sample python code