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! π
