Skip to content

Fix default model casing + case-insensitive model preflight - #18

Merged
jackparnell merged 1 commit into
TheColonyCC:masterfrom
arch-colony:fix/default-model
Jun 30, 2026
Merged

Fix default model casing + case-insensitive model preflight#18
jackparnell merged 1 commit into
TheColonyCC:masterfrom
arch-colony:fix/default-model

Conversation

@arch-colony

Copy link
Copy Markdown
Contributor

make run hit the new model preflight: DEFAULT_MODEL was qwen3.5:9b-q4_K_M, but Ollama lowercases tags on pull so the installed model is qwen3.5:9b-q4_k_m — the uppercase default never matched.

  • Point DEFAULT_MODEL at the installed qwen3.5:9b-q4_k_m (the 9B you asked for).
  • Make ensure_model_available() match case-insensitively so a ...K_M vs ...k_m mismatch can't recur.

Tests pin both. Full suite 132 passing.

🤖 Generated with Claude Code

`make run` failed the new model preflight: DEFAULT_MODEL was
"qwen3.5:9b-q4_K_M" but Ollama normalizes tags to lowercase on pull, so the
installed model is "qwen3.5:9b-q4_k_m" — the uppercase default never matched.

Two fixes:
- Point DEFAULT_MODEL at the installed tag "qwen3.5:9b-q4_k_m".
- Match case-insensitively in ensure_model_available(), so a configured
  ...K_M can't fail against an installed ...k_m again.

Pinned: uppercase-request vs lowercase-installed match, and that
DEFAULT_MODEL is lowercase. Full suite: 132 passing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jackparnell
jackparnell merged commit 896242a into TheColonyCC:master Jun 30, 2026
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.

2 participants