picoclaw/pkg/agent
Hoshina 9b80fdf885 fix(whatsapp_native,agent): address PR #884 review feedback
- Use c.runCtx for GetQRChannel so the QR producer is canceled on Stop()
- Add atomic stopping guard to prevent wg.Add/wg.Wait race in eventHandler
- Make Stop() context-aware: disconnect client before waiting, respect ctx deadline
- Reduce reasoning publish log noise: use debug level for expected ctx errors
- Add test for handleReasoning when outbound bus is full (timeout path)
2026-02-28 03:05:23 +08:00
..
context.go fix: remove redundant tools definitions from system prompt (#771) 2026-02-25 20:44:07 +08:00
context_cache_test.go fix: cache system prompt with mtime-based auto-invalidation (#607) 2026-02-25 15:27:45 +08:00
context_test.go fix: handle multi-tool-call orphan detection in sanitizeHistoryForProvider 2026-02-24 21:35:15 +08:00
instance.go fix(agent): resolve fallback model aliases from model_list 2026-02-26 23:50:40 +08:00
instance_test.go fix(agent): resolve fallback model aliases from model_list 2026-02-26 23:50:40 +08:00
loop.go fix(whatsapp_native,agent): address PR #884 review feedback 2026-02-28 03:05:23 +08:00
loop_test.go fix(whatsapp_native,agent): address PR #884 review feedback 2026-02-28 03:05:23 +08:00
memory.go refactor(pkg): move atomic file write to dedicated fileutil package 2026-02-24 23:57:13 +08: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