Skip to content

fix(tui): #2742 avoid static Ollama model suggestions#2772

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/harvest-2742-ollama-completions
Jun 5, 2026
Merged

fix(tui): #2742 avoid static Ollama model suggestions#2772
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/harvest-2742-ollama-completions

Conversation

@Hmbown

@Hmbown Hmbown commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Harvests the useful intent from fix(tui): use Ollama default model in completions #2742 by @reidliu41 without adding the stale deepseek-coder:1.3b default to another UI surface.
  • Stops Ollama /model static completions from suggesting hosted DeepSeek API IDs.
  • Keeps the model picker on auto plus the current/saved local Ollama tag; installed tags still come from the existing live /models path.

Contributor credit

  • Commit includes Harvested from PR #2742 by @reidliu41.
  • Commit includes Co-authored-by: reidliu41 <61492567+reidliu41@users.noreply.github.com>.
  • Changelog credits @reidliu41 for the focused report and draft fix.

Verification

  • cargo fmt --all -- --check
  • git diff --check
  • ./scripts/release/check-versions.sh
  • cargo test -p codewhale-tui --bin codewhale-tui --locked ollama -- --nocapture
  • cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings
  • python3 scripts/check-coauthor-trailers.py --author-map .github/AUTHOR_MAP --range origin/codex/v0.9.0-stewardship..HEAD --check-authors

Release boundary

No tag, publish, GitHub Release, version bump, or release artifact push was performed.

Harvested from PR #2742 by @reidliu41

Ollama model IDs are local passthrough tags, so /model static completions should not suggest hosted DeepSeek API models or entrench the stale default local tag. Keep the picker on auto/current/saved local models while the existing /models path fetches installed tags from the configured endpoint.

Verification: cargo fmt --all -- --check; git diff --check; ./scripts/release/check-versions.sh; cargo test -p codewhale-tui --bin codewhale-tui --locked ollama -- --nocapture; cargo clippy -p codewhale-tui --bin codewhale-tui --locked -- -D warnings.

Co-authored-by: reidliu41 <61492567+reidliu41@users.noreply.github.com>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit 68fb6e3 into codex/v0.9.0-stewardship Jun 5, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/harvest-2742-ollama-completions branch June 5, 2026 03:50

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes hosted DeepSeek API model IDs from Ollama /model completions, ensuring that the model picker preserves the current or saved local Ollama tag instead of relying on stale static defaults. Corresponding unit tests have been added to verify this behavior. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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