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:
@@ -316,3 +316,15 @@ Windows 与 POSIX 构建输出。构建专用 module manifest 只记录项目相
|
||||
绝对路径;检查成功后会删除该诊断文件,检查失败时保留以便排查。标准 Vite
|
||||
manifest 会保留在输出中。预算以干净生产构建为基线并保留有限余量;若业务确需
|
||||
提高预算,必须先检查 manifest 闭包和产物差异,不能只为通过 CI 调大数值。
|
||||
|
||||
Bundle 大小是发现意外依赖和持续膨胀的粗粒度工程护栏,不是用户体验指标,也不能替代
|
||||
Electron 中的实际交互验证。Settings 的硬上限以 2026-08-23 验证构建
|
||||
`648.78 kB raw / 97.79 kB gzip` 为基线,增加约 15% 评审余量后取整为
|
||||
`750 kB raw / 115 kB gzip`。该上限用于拦截显著增长,不要求实现长期贴线运行。
|
||||
|
||||
调整 Renderer 拆包时遵守以下优先级:
|
||||
|
||||
1. 同级页签的交互一致性、首个绘制帧内反馈和输入保留优先于包体数字。
|
||||
2. 不得仅为通过预算,把一个原本轻量的同级页签单独改成首次点击才加载。
|
||||
3. 确需动态加载重型功能时,必须提供非空、无布局跳变的局部状态,并增加首次交互测试。
|
||||
4. 修改预算必须记录干净生产构建基线、增量闭包差异和 Electron 实测结果。
|
||||
|
||||
Reference in New Issue
Block a user