From 66c5ef355fe1748fe206edaada7366683b291a12 Mon Sep 17 00:00:00 2001 From: "Matthieu C." <886074+teto@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:05:57 +0200 Subject: [PATCH] feat: ':GpAgent' should print the current agents 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 --- lua/gp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gp/init.lua b/lua/gp/init.lua index 128914c..e71ec84 100644 --- a/lua/gp/init.lua +++ b/lua/gp/init.lua @@ -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