From 8999f48fb9150c2248985edb49d3aba18c888169 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Mon, 2 Mar 2026 09:23:22 +0300 Subject: Fix (completion): handle multiple images in history --- bot.go | 1 - 1 file changed, 1 deletion(-) (limited to 'bot.go') diff --git a/bot.go b/bot.go index b3ae41e..661ade0 100644 --- a/bot.go +++ b/bot.go @@ -1177,7 +1177,6 @@ func findCall(msg, toolCall string) bool { // Create tool response message with the proper tool_call_id // Mark shell commands as always visible isShellCommand := fc.Name == "execute_command" - // Check if response is multimodal content (image) var toolResponseMsg models.RoleMsg if strings.HasPrefix(strings.TrimSpace(toolMsg), `{"type":"multimodal_content"`) { -- cgit v1.2.3