Skip to content

Commit 7bfcedc

Browse files
olimorrisDavidyz
authored andcommitted
refactor: format output messages in chat buffer
1 parent e1b2774 commit 7bfcedc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/vectorcode/integrations/codecompanion/func_calling_tool.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ return check_cli_wrap(function(opts)
243243
stderr = cc_common.flatten_table_to_string(stderr)
244244
agent.chat:add_tool_output(
245245
self,
246-
string.format("VectorCode tool failed with error:\n", stderr)
246+
string.format("**VectorCode Tool**: Failed with error:\n", stderr)
247247
)
248248
end,
249249
---@param agent CodeCompanion.Agent
@@ -264,7 +264,7 @@ return check_cli_wrap(function(opts)
264264
if i <= max_result then
265265
if i == 1 then
266266
user_message =
267-
string.format("Retrieved %s files from VectorCode.", max_result)
267+
string.format("**VectorCode Tool**: Retrieved %s files", max_result)
268268
else
269269
user_message = ""
270270
end

0 commit comments

Comments
 (0)