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
+3 -3
View File
@@ -14,7 +14,7 @@
</p>
<p align="center">
<img src="https://img.shields.io/badge/version-v0.11.5-E8734A?style=flat-square" alt="version">
<img src="https://img.shields.io/badge/version-v0.11.6-E8734A?style=flat-square" alt="version">
<img src="https://img.shields.io/badge/electron-33+-47848F?style=flat-square&logo=electron" alt="electron">
<img src="https://img.shields.io/badge/typescript-5.7+-3178C6?style=flat-square&logo=typescript" alt="typescript">
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="license">
@@ -245,7 +245,7 @@ npm start
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist
```
产出:`release/Metona Ollama Setup v0.11.5.exe`
产出:`release/Metona Ollama Setup v0.11.6.exe`
## 🛠️ 常用命令
@@ -481,7 +481,7 @@ npm start
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist
```
Output: `release/Metona Ollama Setup v0.11.5.exe`
Output: `release/Metona Ollama Setup v0.11.6.exe`
## 🛠️ Common Commands