From 961c54b375efc836fa6faafc42f6c68587188cba Mon Sep 17 00:00:00 2001 From: KoheiYamashita Date: Sat, 21 Feb 2026 04:20:44 +0900 Subject: [PATCH] fix: fix Go formatting in context.go Co-Authored-By: Claude Opus 4.6 --- pkg/agent/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/agent/context.go b/pkg/agent/context.go index d0d0660b9..31dcf57c7 100644 --- a/pkg/agent/context.go +++ b/pkg/agent/context.go @@ -314,8 +314,8 @@ func (cb *ContextBuilder) GetSkillsInfo() map[string]interface{} { // to a preceding message with 'tool_calls'" after compression or cancellation. func sanitizeToolMessages(history []providers.Message) []providers.Message { // Pass 1: collect IDs present in each direction - toolCallIDs := make(map[string]bool) // IDs declared by assistant tool_calls - toolRespIDs := make(map[string]bool) // IDs present as tool responses + toolCallIDs := make(map[string]bool) // IDs declared by assistant tool_calls + toolRespIDs := make(map[string]bool) // IDs present as tool responses for _, msg := range history { if msg.Role == "assistant" && len(msg.ToolCalls) > 0 {