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 9d6800a51c agent: parse text-based tool calls instead of failing
Models that don't support native function calling emit tool calls as
plain text. Instead of treating this as ToolUnsupportedError, parse the
text and execute the tool calls normally.

Handles both direct JSON and shorthand (key=value) formats with relaxed
JSON support (unquoted keys).
2026-05-23 11:46:49 +02:00
..
commands.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +02:00
core.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +02:00
core_test.go agent: remove unsandboxed ! shell escape 2026-05-21 15:18:02 +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 speed up agent tests 2026-05-04 11:58:01 +02:00
loop.go agent: parse text-based tool calls instead of failing 2026-05-23 11:46:49 +02:00
loop_cache_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_errlimit_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_maxsteps_helpers_test.go state: expose estimateTokens/stripCold on interface; remove type assertion 2026-05-17 11:06:45 +02:00
loop_maxsteps_test.go loop: replace plan file re-injection with structured TaskState re-injection 2026-05-17 10:14:44 +02:00
loop_parallel_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_texttool_test.go agent: parse text-based tool calls instead of failing 2026-05-23 11:46:49 +02:00
loop_truncate_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
loop_turnerror_test.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
prompt_resolver.go add OLLIE_DEFAULT_AGENT support and update agent commands 2026-05-21 12:33:18 +02:00
runtime.go refactor agent core: extract runtime, simplify commands 2026-05-21 14:42:45 +02:00
session.go session persistence: /save, /resume, cwd-scoped /sessions 2026-05-21 15:08:16 +02:00
state.go state: expose estimateTokens/stripCold on interface; remove type assertion 2026-05-17 11:06:45 +02:00
types.go agent: publish events on pubsub bus, self-drain queue 2026-05-20 16:45:32 +02:00
waitchange_test.go agent: refactor prompt architecture and session lifecycle 2026-04-25 19:38:18 +02:00