mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-29 23:12:38 +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. |
||
|---|---|---|
| .. | ||
| config | ||
| middleware | ||
| routes | ||
| services | ||
| utils | ||
| app.ts | ||
| config.ts | ||
| index.ts | ||
| server.ts | ||