feat: add managed Granite embedding models
GoodBuddy previously required an external OpenAI-compatible endpoint for vector retrieval. It can now install, verify, import, remove, and run the built-in Granite multilingual embedding model in an isolated local inference process, while retaining custom embedding connections and migrating existing settings. The model connection UI now manages built-in and custom vector connections consistently, reports the actual retrieval path, preserves credentials across failed saves, and renders the vector tab synchronously. Related settings copy, switch styling, metadata typography, and renderer bundle guardrails are aligned with the resulting workflow. Release note: 新增可管理的内置 Granite 多语言向量模型,支持本地下载、离线导入、连接切换与诊断;同时优化向量设置及相关界面的文案、开关和状态显示。
This commit is contained in:
+8
-1
@@ -54,6 +54,7 @@
|
||||
"asarUnpack": [
|
||||
"out/main/package.json",
|
||||
"out/main/deepseek-harness-*",
|
||||
"out/main/embedding-inference-bootstrap.js",
|
||||
"out/main/chunks/**/*",
|
||||
"node_modules/node-pty/lib/**/*",
|
||||
"node_modules/node-pty/package.json",
|
||||
@@ -62,7 +63,8 @@
|
||||
"node_modules/koffi/**/*",
|
||||
"node_modules/@koromix/koffi-*/**/*",
|
||||
"node_modules/@napi-rs/canvas{,/**/*}",
|
||||
"node_modules/@napi-rs/canvas-*/**/*"
|
||||
"node_modules/@napi-rs/canvas-*/**/*",
|
||||
"node_modules/onnxruntime-web/dist/**/*.wasm"
|
||||
],
|
||||
"npmRebuild": false,
|
||||
"compression": "maximum",
|
||||
@@ -172,6 +174,10 @@
|
||||
"from": "node_modules/onnxruntime-web/LICENSE",
|
||||
"to": "licenses/onnxruntime-web-MIT.txt"
|
||||
},
|
||||
{
|
||||
"from": "node_modules/@huggingface/tokenizers/LICENSE",
|
||||
"to": "licenses/huggingface-tokenizers-Apache-2.0.txt"
|
||||
},
|
||||
{
|
||||
"from": "node_modules/katex/LICENSE",
|
||||
"to": "licenses/katex-MIT.txt"
|
||||
@@ -254,6 +260,7 @@
|
||||
"@deepseek-ai/dsh-tool-skill": "0.1.0-rc.6",
|
||||
"@deepseek-ai/dsh-tools": "0.1.0-rc.6",
|
||||
"@deepseek-ai/dsh-user-approval": "0.1.0-rc.6",
|
||||
"@huggingface/tokenizers": "^0.1.3",
|
||||
"@modelcontextprotocol/sdk": "^1.30.0",
|
||||
"@napi-rs/canvas": "1.0.3",
|
||||
"@opencode-ai/sdk": "^1.18.9",
|
||||
|
||||
Reference in New Issue
Block a user