Skip to content

Commit 70ddb84

Browse files
committed
model selection: marker for currently selected model
1 parent 2346396 commit 70ddb84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/codegpt/models.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ function M.select_model()
171171
prompt = "ollama: available models",
172172
format_item = function(item)
173173
local display = ""
174+
if item.name == Config.model_override then
175+
display = "(*) "
176+
end
174177
if item.model_source == "local" then
175178
display = "[L] "
176179
elseif item.model_source == "remote" then

0 commit comments

Comments
 (0)