chore: fix go fmt formatting issues after rebase

Apply go fmt to files that had formatting inconsistencies
(alignment, indentation) after rebasing onto refactor/channel-system.
This commit is contained in:
Hoshina committed 2026-02-27 17:35:50 +08:00
1 parent 42ee9ab1e3
commit d429dcdd76
5 files changed
+33 -18

No files matched your search

+8 -4
View File
@@ -211,12 +211,16 @@ func (al *AgentLoop) Run(ctx context.Context) error {
})
logger.InfoCF("agent", "Published outbound response",
map[string]any{
"channel": msg.Channel,
"chat_id": msg.ChatID,
"channel": msg.Channel,
"chat_id": msg.ChatID,
"content_len": len(response),
})
} else {
logger.DebugCF("agent", "Skipped outbound (message tool already sent)", map[string]any{"channel": msg.Channel})
logger.DebugCF(
"agent",
"Skipped outbound (message tool already sent)",
map[string]any{"channel": msg.Channel},
)
}
}
}()
@@ -395,7 +399,7 @@ func (al *AgentLoop) processMessage(ctx context.Context, msg bus.InboundMessage)
"agent_id": agent.ID,
"session_key": sessionKey,
"matched_by": route.MatchedBy,
})
})
return al.runAgentLoop(ctx, agent, processOptions{
SessionKey: sessionKey,