nvim: Show LLM model choices on selection

This used to be default (and according to the docs still is?) but I had
to set it manually to still show all models to select from. Perhaps
because we explicitly set 'show_defaults' we also have to be explicit
about this.
This commit is contained in:
Marty Oehme 2025-09-08 21:56:40 +02:00
parent 7730c552fc
commit c770ea1db1
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 3 additions and 3 deletions

View file

@ -9,8 +9,8 @@
"cmp-pandoc.nvim": { "branch": "main", "commit": "30faa4456a7643c4cb02d8fa18438fd484ed7602" },
"cmp-spell": { "branch": "master", "commit": "694a4e50809d6d645c1ea29015dad0c293f019d6" },
"codecompanion-gitcommit.nvim": { "branch": "main", "commit": "e237b9901d64074fa84f74c1b20892303e3e1830" },
"codecompanion-history.nvim": { "branch": "main", "commit": "b9f1afb77f1a8805e686f89ac38338a9ca588579" },
"codecompanion.nvim": { "branch": "main", "commit": "76f1c1aaedbb159256dbc64705cd34f447046d64" },
"codecompanion-history.nvim": { "branch": "main", "commit": "eb99d256352144cf3b6a1c45608ec25544a0813d" },
"codecompanion.nvim": { "branch": "main", "commit": "4bc03c40b8f7f5e5d3c324479a893c6589471446" },
"conform.nvim": { "branch": "master", "commit": "a6f5bdb78caa305496357d17e962bbc4c0b392e2" },
"copilot-lualine": { "branch": "main", "commit": "6bc29ba1fcf8f0f9ba1f0eacec2f178d9be49333" },
"copilot.lua": { "branch": "master", "commit": "c1bb86abbed1a52a11ab3944ef00c8410520543d" },

View file

@ -65,6 +65,7 @@ return {
http = {
opts = {
show_defaults = true, -- TODO: set to false to only enable working, but does not show copilot then
show_model_choices = true,
},
groq = function()
return require("codecompanion.adapters").extend("openai", {
@ -143,7 +144,6 @@ return {
},
},
prompt_library = {
["Smart Paste"] = {
strategy = "inline",
description = "Paste code smartly",