Skip to content

Commit

Permalink
feat: ':GpAgent' should print the current agents
Browse files Browse the repository at this point in the history
It used to be the case but got lost during the logger addition. It now gets forwarded to the log but it's more useful in message area
  • Loading branch information
teto committed Sep 23, 2024
1 parent 2372d53 commit 66c5ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ end
M.cmd.Agent = function(params)
local agent_name = string.gsub(params.args, "^%s*(.-)%s*$", "%1")
if agent_name == "" then
M.logger.info(" Chat agent: " .. M._state.chat_agent .. " | Command agent: " .. M._state.command_agent)
print(" Chat agent: " .. M._state.chat_agent .. " | Command agent: " .. M._state.command_agent)
return
end

Expand Down

0 comments on commit 66c5ef3

Please sign in to comment.