ollama / ollama/ollama-python

[BUG] Inconsistent response for api/tag

Open
#487 1 comment 3 reactions 1 assignee View on GitHub

@ParthSareen is already working on this.

Since Apr 1, 2025.

Dominant language
Python
Stars
10.5k
Forks
1.2k
Avg merge
4m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.