fix: 修复 Think 模式开关无效 — toggleThink 缺少 change 事件导致 state 未同步

- model-bar.ts: 新增 toggleThink change 事件监听,同步 state.thinkEnabled
- setThinkAvailable(true) 保留自动开启行为(模型支持时强制开启)
- 版本号 0.11.5 → 0.11.6,同步7个文件13处
This commit is contained in:
thzxx
2026-06-17 12:34:23 +08:00
parent a336a66516
commit a74fca741d
8 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ export function createMenu(): void {
dialog.showMessageBox(mainWindow!, {
type: 'info',
title: '关于 Metona Ollama',
message: 'Metona Ollama Desktop v0.11.5',
message: 'Metona Ollama Desktop v0.11.6',
detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama',
icon: getIconPath()
});