Skip to content

Do not report a model present when the tag is only a substring - #60

Merged
jmjava merged 1 commit into
mainfrom
cursor/status-exact-model-name
Nov 1, 2026
Merged

jmjava merged 1 commit into
mainfrom
cursor/status-exact-model-name

Conversation

@jmjava

@jmjava jmjava commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • local_status used tag in name, so not-qwen3.5:9b-extra was reported as the configured fast model.
  • Presence now requires the exact tag, or that tag plus an Ollama suffix such as :latest.

Test plan

  • A name that only contains qwen3.5:9b is present=False
  • devstral-small-2:latest is still present=True for the strong tag
  • tests.test_ollama_client passes with Ollama HTTP mocked
  • CI unit and mutation checks green

Made with Cursor

local_status treated any name containing the configured tag as that model.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 2983d5d into main Nov 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant