Skip to content

Commit 56a72dd

Browse files
committed
fix: remove deprecated replace_headers (fixes ravitemer#122)
1 parent c4f3007 commit 56a72dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/mcphub/extensions/codecompanion/utils.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ end
8585
local function add_tool_output(action_name, tool, chat, llm_msg, is_error, has_function_calling, opts)
8686
local config = require("codecompanion.config")
8787
local show_result_in_chat = opts.show_result_in_chat == true
88-
local text = show_result_in_chat and replace_headers(llm_msg) or llm_msg
88+
-- local text = show_result_in_chat and replace_headers(llm_msg) or llm_msg
89+
local text = llm_msg
8990
if has_function_calling then
9091
chat:add_tool_output(
9192
tool,

0 commit comments

Comments
 (0)