mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +08:00
- Updated `createBaseModel` to differentiate between OpenAI chat and response models. - Introduced new utility functions for model identification: `isOpenAIReasoningModel`, `isOpenAILLMModel`, and `getModelToProviderId`. - Improved `transformParameters` to conditionally set the system prompt based on the assistant's prompt. - Refactored `getAiSdkProviderIdForAihubmix` to simplify provider identification logic. - Enhanced `getAiSdkProviderId` to support provider type checks. |
||
|---|---|---|
| .. | ||
| aiCore | ||
| shared | ||