Skip to content

Commit

Permalink
style: improve model/agent selection prompts
Browse files Browse the repository at this point in the history
Add arrow (>) at the end of prompts in model and agent selection menus to
better indicate that user input is expected.
  • Loading branch information
deathbeam committed Nov 16, 2024
1 parent db4e6a7 commit 2132c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/CopilotChat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function M.select_model()

vim.schedule(function()
vim.ui.select(models, {
prompt = 'Select a model',
prompt = 'Select a model> ',
}, function(choice)
if choice then
M.config.model = choice:gsub(' %(selected%)', '')
Expand All @@ -431,7 +431,7 @@ function M.select_agent()

vim.schedule(function()
vim.ui.select(agents, {
prompt = 'Select an agent',
prompt = 'Select an agent> ',
}, function(choice)
if choice then
M.config.agent = choice:gsub(' %(selected%)', '')
Expand Down

0 comments on commit 2132c1c

Please sign in to comment.