feat: run_command 改为下拉框设置自动/需确认/禁用三种模式
- 替换原有开关为下拉选择框(selectRunCommandMode) - 新增 setRunCommandMode() 动态控制确认行为 - 需确认模式:弹窗确认后执行 - 自动模式:直接执行,无需确认 - 禁用模式:工具不可用 - 新增 .tool-card-badge.disabled 样式 - 状态从 runCommandEnabled(bool) 迁移为 runCommandMode(string)
This commit is contained in:
Vendored
+1
-1
@@ -274,7 +274,7 @@ export type StateKey =
|
||||
| 'temperature'
|
||||
| 'thinkEnabled'
|
||||
| 'toolCallingEnabled'
|
||||
| 'runCommandEnabled'
|
||||
| 'runCommandMode'
|
||||
| 'memoryEnabled'
|
||||
| 'memoryEntries'
|
||||
| 'embeddingModel';
|
||||
|
||||
Reference in New Issue
Block a user