Ollama – v0.18.3-rc2: api/show: overwrite basename for copilot chat (#15062)

Ollama – v0.18.3-rc2: api/show: overwrite basename for copilot chat (#15062)

🚨 Ollama v0.18.3-rc2 is out! 🚨

This update fixes a pesky bug in GitHub Copilot integration β€” specifically, how model names are displayed when using `/api/show`.

πŸ”Ή What’s fixed?

  • Previously, Copilot would see internal `general.basename` values (e.g., `deepseek-r1:7b-v3-fp16`) instead of clean, user-friendly model names like `deepseek-r1`.
  • Now, `/api/show` returns the actual requested model name (`req.Model`) β€” matching what you see in `ollama list` or `/api/tags`.

βœ… Why it’s a win:

  • Cleaner, more intuitive model names in Copilot.
  • No more duplicate or confusing basenames when switching between similar models (e.g., `llama3:8b` vs. `llama3:70b`).

🧠 Bonus: This small tweak makes Copilot + Ollama feel way more polished β€” especially for those of us juggling multiple local models.

πŸ“¦ RC2 dropped on Mar 25, 2024 β€” grab it and give Copilot a spin! πŸ› οΈ

πŸ”— GitHub PR #15062

Let us know how it feels! πŸ™Œ

πŸ”— View Release