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
Levi Neely 28027d2f2b core: detect text-form tool calls as ToolUnsupportedError
When a model emits tool invocations as plain assistant text instead of
using the function-calling API (e.g. "execute_code: steps=[...]"), the
loop now returns ToolUnsupportedError. This lets freeloader blacklist the
model and cycle to one that properly supports function calling.

Detection: after a turn with stopReason="stop" and no API-level tool
calls, scan assistant text for any registered tool name followed by ':'
or '('. Only fires when tools are configured.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 19:06:49 +02:00
..
agent core: detect text-form tool calls as ToolUnsupportedError 2026-04-28 19:06:49 +02:00
backend freeloader: fix 404 tool_unsupported detection and FIFO-drain recovery 2026-04-28 18:47:34 +02:00
config config: make prompt executable (string or []string of commands) 2026-04-26 15:00:33 +02:00
env env: add OLLIE_ELEVATE_SOCKET to managed list and EnsureDefaults 2026-04-25 11:45:46 +02:00
log agent: audit logging via OLLIE_AUDIT_LOG=debug 2026-04-27 18:21:13 +02:00
paths expand ~ in cwd across agent core, hooks, and execute server 2026-04-24 20:10:42 +02:00
skills pkg/config, pkg/skills: accept io.Reader, remove filesystem access 2026-04-21 13:51:46 +02:00
store core: freeloader infrastructure — turnError hook, ToolUnsupportedError, prompt.prev, MemoryStore 2026-04-28 17:17:25 +02:00
tools core: loop-level parallel tool execution for read-safe tools 2026-04-28 13:05:15 +02:00