[BUG] Inconsistent response for api/tag #247

Open
opened 2026-02-15 16:29:11 -05:00 by yindo · 1 comment
Owner

Originally created by @adar2378 on GitHub (Mar 28, 2025).

Originally assigned to: @ParthSareen on GitHub.

According to api doc for ollama, it says there should name key indicating model name.

https://github.com/ollama/ollama/blob/main/docs/api.md#response-25

But in the Python client, https://github.com/ollama/ollama-python/blob/07eec6d517b95ef49fda672d8a533cb01a56b2fa/ollama/_types.py#L435

It does not have name key but rather model key.

Is this correct, or is it a bug?

Originally created by @adar2378 on GitHub (Mar 28, 2025). Originally assigned to: @ParthSareen on GitHub. According to api doc for ollama, it says there should `name` key indicating model name. https://github.com/ollama/ollama/blob/main/docs/api.md#response-25 But in the Python client, https://github.com/ollama/ollama-python/blob/07eec6d517b95ef49fda672d8a533cb01a56b2fa/ollama/_types.py#L435 It does not have `name` key but rather `model` key. Is this correct, or is it a bug?
Author
Owner

@ayushin commented on GitHub (Apr 5, 2025):

https://github.com/apexive/odoo-llm/issues/33

@ayushin commented on GitHub (Apr 5, 2025): https://github.com/apexive/odoo-llm/issues/33
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#247