mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
* build: replace openai package with @cherrystudio/openai Update all imports from 'openai' to '@cherrystudio/openai' and remove the yarn patch * refactor(OpenAIResponseAPIClient): simplify token estimation logic for function call output Consolidate token estimation by first concatenating all output parts into a single string before counting tokens. This improves maintainability and handles additional output types consistently. |
||
|---|---|---|
| .. | ||
| apiServer | ||
| configs | ||
| integration | ||
| knowledge | ||
| mcpServers | ||
| services | ||
| utils | ||
| bootstrap.ts | ||
| config.ts | ||
| constant.ts | ||
| electron.d.ts | ||
| env.d.ts | ||
| index.ts | ||
| ipc.ts | ||