cherry-studio/src/main/apiServer
Phantom 7f83f0700b
chore: migrate from openai to @cherrystudio/openai package (#10802)
* 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.
2025-10-22 17:34:23 +08:00
..
config ♻️ refactor: centralize agent stream timeouts 2025-09-29 13:06:47 +08:00
middleware refactor(logging): improve logging messages for clarity and consistency 2025-09-25 23:33:33 +08:00
routes chore: migrate from openai to @cherrystudio/openai package (#10802) 2025-10-22 17:34:23 +08:00
services chore: migrate from openai to @cherrystudio/openai package (#10802) 2025-10-22 17:34:23 +08:00
utils fix: agent supported model filter (#10788) 2025-10-17 20:52:15 +08:00
app.ts ♻️ refactor: centralize agent stream timeouts 2025-09-29 13:06:47 +08:00
config.ts refactor(logging): improve logging messages for clarity and consistency 2025-09-25 23:33:33 +08:00
index.ts Feat/api server (#9855) 2025-09-11 09:51:29 +08:00
server.ts fix: improve api-server startup and error handling logic (#10794) 2025-10-18 14:15:08 +08:00