From fe8232bfc14a3334d5113329d59235101fb6d64d Mon Sep 17 00:00:00 2001 From: TesseractLHY Date: Tue, 31 Mar 2026 11:16:13 -0400 Subject: [PATCH] Fixes bad tool call --- internal/util/tool_prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/tool_prompt.go b/internal/util/tool_prompt.go index a1dbbfd..b0b0f75 100644 --- a/internal/util/tool_prompt.go +++ b/internal/util/tool_prompt.go @@ -31,7 +31,7 @@ func BuildToolCallInstructions(toolNames []string) string { return `TOOL CALL FORMAT — FOLLOW EXACTLY: -When calling tools, emit ONLY raw XML. No text before, no text after, no markdown fences. +When calling tools, emit ONLY raw XML at the very end of your response. No text before, no text after, no markdown fences.