Local fork of continuedev/continue for auto-approve and full-access mode experiments
The Vercel AI SDK's fullStream finish event contains preliminary/incomplete usage data (often zeros). The authoritative usage is ONLY available via the stream.usage Promise which resolves after the stream completes. Changes: - convertVercelStream: Skip finish event entirely (return null) - OpenAI.ts: Always await stream.usage after consuming fullStream - Anthropic.ts: Same approach with cache token support - Tests: Updated to reflect that finish event doesn't emit usage This is the correct architecture per Vercel AI SDK design: - fullStream: Stream events (text, tools, etc) - finish has no reliable usage - stream.usage: Promise that resolves with complete usage after stream ends Co-authored-by: nate <nate@continue.dev> Generated with [Continue](https://continue.dev) |
||
|---|---|---|
| .continue | ||
| .github | ||
| .husky | ||
| .idea | ||
| .vscode | ||
| actions | ||
| binary | ||
| core | ||
| docs | ||
| eval | ||
| extensions | ||
| gui | ||
| manual-testing-sandbox | ||
| media | ||
| packages | ||
| scripts | ||
| sync | ||
| .continueignore | ||
| .eslintrc.shared.json | ||
| .gitignore | ||
| .node-version | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| CLA.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
Continue
Ship faster with Continuous AI
The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff
Get started in Mission Control, CLI (Headless Mode), or CLI (TUI mode)
Quick Install
npm i -g @continuedev/cli
cn
Cloud Agents
Set workflows to run automatically on PR opens, schedules, or any event trigger
CLI Agents
Watch workflows execute in real-time and approve decisions step-by-step from your terminal
IDE Agents
Trigger workflows from VS Code or JetBrains—let agents handle the refactoring while you keep coding
Contributing
Read the contributing guide, and join #contribute on Discord.



