picoclaw/pkg/agent
winterfx b47a39af9c fix: handle multi-tool-call orphan detection in sanitizeHistoryForProvider
Walk backwards over preceding tool messages to find the nearest assistant
with ToolCalls, instead of only checking the immediate predecessor. Add
unit tests for sanitizeHistoryForProvider covering key edge cases.
2026-02-24 21:35:15 +08:00
..
context.go fix: handle multi-tool-call orphan detection in sanitizeHistoryForProvider 2026-02-24 21:35:15 +08:00
context_test.go fix: handle multi-tool-call orphan detection in sanitizeHistoryForProvider 2026-02-24 21:35:15 +08:00
instance.go refactor(config): rename model field to model_name 2026-02-23 16:55:06 +08:00
instance_test.go fix: Templates update (#485) 2026-02-19 19:16:37 +01:00
loop.go Merge pull request #604 from winterfx/fix/reasoning-content-missing 2026-02-24 14:20:36 +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