mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-01 09:49:03 +08:00
- Implemented mergeObjects function to smartly merge objects, preserving existing values and allowing for configurable overwrite options. - Added mergeModelsList and mergeProvidersList functions to handle merging of model and provider lists, respectively, with case-insensitive ID matching. - Introduced preset merge strategies for common use cases. - Created a new API route for syncing provider models, handling data import and merge operations. - Developed ModelEditForm and ProviderEditForm components for editing model and provider details, respectively, with form validation and state management. - Added UI components for labels, selects, and notifications to enhance user experience.
54 lines
971 B
Plaintext
54 lines
971 B
Plaintext
# Provider API Keys for Model Synchronization
|
|
# Copy this file to .env and fill in your API keys
|
|
|
|
# Aggregators (China)
|
|
CHERRYIN_API_KEY=
|
|
SILICON_API_KEY=
|
|
OCOOLAI_API_KEY=
|
|
DMXAPI_API_KEY=
|
|
AIONLY_API_KEY=
|
|
BURNCLOUD_API_KEY=
|
|
AI_302_API_KEY=
|
|
CEPHALON_API_KEY=
|
|
LANYUN_API_KEY=
|
|
PH8_API_KEY=
|
|
SOPHNET_API_KEY=
|
|
PPIO_API_KEY=
|
|
QINIU_API_KEY=
|
|
|
|
# Official Providers
|
|
OPENAI_API_KEY=
|
|
GITHUB_API_KEY=
|
|
COPILOT_API_KEY=
|
|
YI_API_KEY=
|
|
MOONSHOT_API_KEY=
|
|
BAICHUAN_API_KEY=
|
|
DASHSCOPE_API_KEY=
|
|
STEPFUN_API_KEY=
|
|
DOUBAO_API_KEY=
|
|
INFINI_API_KEY=
|
|
MINIMAX_API_KEY=
|
|
GROQ_API_KEY=
|
|
TOGETHER_API_KEY=
|
|
FIREWORKS_API_KEY=
|
|
NVIDIA_API_KEY=
|
|
GROK_API_KEY=
|
|
HYPERBOLIC_API_KEY=
|
|
MISTRAL_API_KEY=
|
|
JINA_API_KEY=
|
|
PERPLEXITY_API_KEY=
|
|
MODELSCOPE_API_KEY=
|
|
XIRANG_API_KEY=
|
|
HUNYUAN_API_KEY=
|
|
TENCENT_CLOUD_TI_API_KEY=
|
|
BAIDU_CLOUD_API_KEY=
|
|
VOYAGEAI_API_KEY=
|
|
POE_API_KEY=
|
|
LONGCAT_API_KEY=
|
|
HUGGINGFACE_API_KEY=
|
|
CEREBRAS_API_KEY=
|
|
|
|
# Authoritative sources (use import scripts instead)
|
|
# OPENROUTER_API_KEY=
|
|
# AIHUBMIX_API_KEY=
|