picoclaw/pkg/agent
yuchou87 11dbc301f9 perf(agent): cache ListAgentIDs() result before MCP tool registration loop
ListAgentIDs() was called on every iteration of the inner tool loop,
causing repeated allocations. Capture the slice once and reuse it for
both agentCount and the registration loop.
2026-02-21 13:48:41 +08:00
..
context.go Fix Memory Write (#557) 2026-02-21 08:21:38 +08:00
instance.go Merge branch 'main' into fix-formatting 2026-02-19 22:04:48 +02:00
instance_test.go fix: Templates update (#485) 2026-02-19 19:16:37 +01:00
loop.go perf(agent): cache ListAgentIDs() result before MCP tool registration loop 2026-02-21 13:48:41 +08:00
loop_test.go feat(fmt): Fix formatting 2026-02-19 22:05:15 +02:00
memory.go Merge branch 'main' into fix-formatting 2026-02-20 20:02:53 +02:00
mock_provider_test.go feat(fmt): Fix formatting 2026-02-19 22:05:15 +02:00
registry.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
registry_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00