summaryrefslogtreecommitdiff
path: root/internal/executor/classifier_test.go
diff options
context:
space:
mode:
authorClaude Sonnet 4.6 <agent@claudomator>2026-06-04 04:53:21 +0000
committerClaude Sonnet 4.6 <agent@claudomator>2026-06-04 04:53:21 +0000
commit504ca445afd1f8bfc6db57c68c8c963f7ccbf08e (patch)
tree03f4627a9b965c41e77ae2d99f6e5a3e697995d0 /internal/executor/classifier_test.go
parentd02246dc7e065181da133e7ddae21ad2c1c16db1 (diff)
fix(local-runner): retry on tool-400, fix preamble gate, set summary from text output
- Retry Chat() without tools when error contains "does not support tools" (case-insensitive); tinyllama fast-path still skips the first round-trip. - Pass mcpEnabled=len(tools)>0 to buildAgentInstructions so tool-less models don't receive a planning preamble they can't act on; tools must be decided before messages are built, so reorder accordingly. - Collect all assistant text into fullText across turns; after a non-blocked run, if e.Summary is empty set it to the first 500 chars of fullText so handleRunResult has something to store when report_summary is never called. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/executor/classifier_test.go')
0 files changed, 0 insertions, 0 deletions