summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-02 09:23:22 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-02 09:23:22 +0300
commit8999f48fb9150c2248985edb49d3aba18c888169 (patch)
treecf5bf6c8e00df211ae615f27e36ea616bd7a34a3 /bot.go
parentb2f280a7f1ae7ec65551e875d13733a757fc164c (diff)
Fix (completion): handle multiple images in history
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go1
1 files changed, 0 insertions, 1 deletions
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"`) {