mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 22:52:08 +08:00
* fix: correct token calculation in prompt tool use plugin - Fix duplicate token accumulation in recursive stream handling - Accumulate usage for finish-step without tool calls - Filter out recursive stream's start/finish events (only one per conversation) - Make accumulateUsage method public for reuse 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * refactor: simplify pipeRecursiveStream method in StreamEventManager - Removed unnecessary context parameter from pipeRecursiveStream method - Streamlined the invocation of pipeRecursiveStream in recursive call handling This change enhances code clarity and reduces complexity in stream management. --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| core | ||
| index.ts | ||
| types.ts | ||