refactor: one abort helper for all LLM adapters

↗ view on GitHub · Eli Ziff · 2026-07-27 · 19178325

Five adapters each carried identical abortError/throwIfAborted
copies; codex additionally exported its own name for the app-server
adapter. All six files now share llm/abort.ts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 5fe26171
Stats 7 files changed , +19 , -51
Part of Internal cleanup, dead-code removal, and the canonical route builder

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-19178325.md from inside the repo you want the change in.

⬇ Download capture-commit-19178325.md