diff --git a/electron-builder.yml b/electron-builder.yml index c1279a67e2..0da2d7f5fe 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -107,11 +107,9 @@ afterSign: scripts/notarize.js artifactBuildCompleted: scripts/artifact-build-completed.js releaseInfo: releaseNotes: | - 划词助手:支持文本选择快捷键、开关快捷键、思考块支持和引用功能 - 复制功能:新增纯文本复制(去除Markdown格式符号) - 知识库:支持设置向量维度,修复Ollama分数错误和维度编辑问题 - 多语言:增加模型名称多语言提示和翻译源语言手动选择 - 文件管理:修复主题/消息删除时文件未清理问题,优化文件选择流程 - 模型:修复Gemini模型推理预算、Voyage AI嵌入问题和DeepSeek翻译模型更新 - 图像功能:统一图片查看器,支持Base64图片渲染,修复图片预览相关问题 - UI:实现标签折叠/拖拽排序,修复气泡溢出,增加引文索引显示 + - 新功能:可选数据保存目录 + - 快捷助手:支持单独选择助手,支持暂停、上下文、思考过程、流式 + - 划词助手:系统托盘菜单开关 + - 翻译:新增 Markdown 预览选项 + - 新供应商:新增 Vertex AI 服务商 + - 错误修复和界面优化 diff --git a/package.json b/package.json index 3ee50ee69a..2f7446c706 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "CherryStudio", - "version": "1.4.2", + "version": "1.4.4", "private": true, "description": "A powerful AI assistant for producer.", "main": "./out/main/index.js", diff --git a/src/renderer/src/store/index.ts b/src/renderer/src/store/index.ts index 62c22b4a1e..81b547eed1 100644 --- a/src/renderer/src/store/index.ts +++ b/src/renderer/src/store/index.ts @@ -50,7 +50,7 @@ const persistedReducer = persistReducer( { key: 'cherry-studio', storage, - version: 112, + version: 114, blacklist: ['runtime', 'messages', 'messageBlocks'], migrate }, diff --git a/src/renderer/src/store/llm.ts b/src/renderer/src/store/llm.ts index a281bc977b..f70c4ef2ba 100644 --- a/src/renderer/src/store/llm.ts +++ b/src/renderer/src/store/llm.ts @@ -237,14 +237,15 @@ export const INITIAL_PROVIDERS: Provider[] = [ isVertex: false }, { - id: 'zhipu', - name: 'ZhiPu', - type: 'openai', + id: 'vertexai', + name: 'VertexAI', + type: 'vertexai', apiKey: '', - apiHost: 'https://open.bigmodel.cn/api/paas/v4/', - models: SYSTEM_MODELS.zhipu, + apiHost: 'https://aiplatform.googleapis.com', + models: [], isSystem: true, - enabled: false + enabled: false, + isVertex: true }, { id: 'github', @@ -267,6 +268,16 @@ export const INITIAL_PROVIDERS: Provider[] = [ enabled: false, isAuthed: false }, + { + id: 'zhipu', + name: 'ZhiPu', + type: 'openai', + apiKey: '', + apiHost: 'https://open.bigmodel.cn/api/paas/v4/', + models: SYSTEM_MODELS.zhipu, + isSystem: true, + enabled: false + }, { id: 'yi', name: 'Yi', @@ -377,26 +388,6 @@ export const INITIAL_PROVIDERS: Provider[] = [ isSystem: true, enabled: false }, - { - id: 'zhinao', - name: 'zhinao', - type: 'openai', - apiKey: '', - apiHost: 'https://api.360.cn', - models: SYSTEM_MODELS.zhinao, - isSystem: true, - enabled: false - }, - { - id: 'hunyuan', - name: 'hunyuan', - type: 'openai', - apiKey: '', - apiHost: 'https://api.hunyuan.cloud.tencent.com', - models: SYSTEM_MODELS.hunyuan, - isSystem: true, - enabled: false - }, { id: 'nvidia', name: 'nvidia', @@ -477,6 +468,16 @@ export const INITIAL_PROVIDERS: Provider[] = [ isSystem: true, enabled: false }, + { + id: 'hunyuan', + name: 'hunyuan', + type: 'openai', + apiKey: '', + apiHost: 'https://api.hunyuan.cloud.tencent.com', + models: SYSTEM_MODELS.hunyuan, + isSystem: true, + enabled: false + }, { id: 'tencent-cloud-ti', name: 'Tencent Cloud TI', @@ -516,17 +517,6 @@ export const INITIAL_PROVIDERS: Provider[] = [ models: SYSTEM_MODELS.voyageai, isSystem: true, enabled: false - }, - { - id: 'vertexai', - name: 'VertexAI', - type: 'vertexai', - apiKey: '', - apiHost: 'https://aiplatform.googleapis.com', - models: [], - isSystem: true, - enabled: false, - isVertex: true } ] diff --git a/src/renderer/src/store/migrate.ts b/src/renderer/src/store/migrate.ts index 007b9fb71b..305d26b758 100644 --- a/src/renderer/src/store/migrate.ts +++ b/src/renderer/src/store/migrate.ts @@ -1582,7 +1582,6 @@ const migrateConfig = { '113': (state: RootState) => { try { addProvider(state, 'vertexai') - state.llm.providers = moveProvider(state.llm.providers, 'vertexai', 10) if (!state.llm.settings.vertexai) { state.llm.settings.vertexai = llmInitialState.settings.vertexai }