This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/agent
Levi Neely 6422c365b7 agent: deduplicate identical tool calls within parallel batches
Identical read-safe tool calls in the same batch now execute only
once. Duplicates get the result copied with the correct ToolCallID.
Fixes a race where concurrent goroutines both missed the cache
before either could store, causing double execution.
2026-05-03 21:27:46 +02:00
..
commands.go core: allow /model switch while running; detach turnError hook context 2026-04-28 17:41:43 +02:00
core.go agent: roll back session on interrupt, clean error message 2026-05-03 21:10:28 +02:00
core_test.go config: add tools bool to disable tool collection per agent 2026-05-03 14:58:58 +02:00
cost.go core: Anthropic prompt caching and cache-aware cost accounting 2026-04-28 12:01:14 +02:00
cost_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
fifo_test.go agent: add PromptFIFO unit tests 2026-04-11 10:03:47 +02:00
hooks.go core: fix turnError hook wiring — Handled field, correct exit-code semantics 2026-04-28 17:27:13 +02:00
loop.go agent: deduplicate identical tool calls within parallel batches 2026-05-03 21:27:46 +02:00
loop_cache_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
loop_errlimit_test.go agent: abort on consecutive tool errors 2026-05-01 15:57:20 +02:00
loop_parallel_test.go core: tests and emission fixes for parallel tool execution and caching 2026-04-28 13:13:32 +02:00
loop_texttool_test.go core: detect text-form tool calls as ToolUnsupportedError 2026-04-28 19:06:49 +02:00
loop_truncate_test.go core: tool result truncation and stale read pruning 2026-04-28 14:12:00 +02:00
loop_turnerror_test.go core: fix turnError hook wiring — Handled field, correct exit-code semantics 2026-04-28 17:27:13 +02:00
prompt_resolver.go prompt: support literal strings in exec prompt arrays; clarify timeout schema 2026-05-02 10:29:01 +02:00
session.go simplify compaction: drop user message preservation and selectUserMessages 2026-05-02 14:02:25 +02:00
state.go agent: drop error return from Session.update 2026-04-26 18:56:58 +02:00
types.go add s/{sid}/context 9P endpoint 2026-04-29 18:03:43 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00