Syd OS: fix mid-sentence truncation in agentic runs

↗ view on GitHub · emileriksenkeev · 2026-07-11 · 823d76aa

- Raise Claude max output tokens 16384 -> 32000 (env CLAUDE_MAX_OUTPUT_TOKENS)
- On stop_reason=max_tokens, continue the loop instead of breaking: run any
  completed tool calls, or push the partial text with a 'continue where you
  left off' nudge. Previously the turn silently ended mid-sentence.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 82bffb5d
Stats 1 file changed , +23 , -2
Part of Agentic chat run reliability and long-run streaming

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-823d76aa.md from inside the repo you want the change in.

⬇ Download capture-commit-823d76aa.md