mirror of
https://github.com/ILoveBingLu/CipherTalk.git
synced 2026-04-06 12:36:26 +08:00
fix(ai): 优化API密钥验证逻辑,支持本地服务无密钥访问
- 修改 AIService 中 API 密钥验证逻辑,允许 Ollama 本地服务跳过密钥检查 - 更新所有 AI 提供商实例化时的类型断言,使用非空断言操作符(!)确保类型安全 - 完善 AISummarySettings 中连接测试逻辑,区分 Ollama 和 Custom 服务的验证需求 - 为 Custom 服务添加 baseURL 必填验证,提升配置完整性检查 - 升级版本至 2.1.4 - 改进本地 AI 服务和自定义服务的使用体验,降低配置门槛
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ciphertalk",
|
||||
"version": "2.1.2",
|
||||
"version": "2.1.4",
|
||||
"description": "密语 - 微信聊天记录查看工具",
|
||||
"author": "ILoveBingLu",
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
@@ -72,8 +72,8 @@
|
||||
"output": "release"
|
||||
},
|
||||
"publish": {
|
||||
"provider": "github",
|
||||
"releaseType": "release"
|
||||
"provider": "generic",
|
||||
"url": "https://miyuapp.aiqji.com"
|
||||
},
|
||||
"win": {
|
||||
"icon": "public/icon.ico",
|
||||
|
||||
Reference in New Issue
Block a user