mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 21:01:32 +08:00
- Extracted `StreamEventManager` and `ToolExecutor` classes from `promptToolUsePlugin.ts` to improve code organization and reduce complexity. - Enhanced tool execution logic with better error handling and event management. - Updated the `createPromptToolUsePlugin` function to utilize the new classes for cleaner implementation. - Improved recursive call handling and result formatting for tool executions. - Streamlined the overall flow of tool calls and event emissions within the plugin. |
||
|---|---|---|
| .. | ||
| aiCore | ||
| mcp-trace | ||
| shared | ||