chaitin / chaitin/MonkeyCode

建议桌面端支持调整会员模型的默认思考深度

Open
#1,194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.7k
Forks
719
Avg merge
4h 30m
Merged PRs (30d)
83

Description

现状

桌面端(MonkeyCode work)中,思考深度目前有三层:

  1. 会话内临时档:输入框有思考档触发器(关闭/低/中/高,session_set_think),新建任务弹窗也有 think 覆盖——但都是一次性的,不落默认;
  2. 自定义/百智云模型:设置页可展开编辑,有「思考深度」默认档字段(HostModel.think),可设 off/low/medium/high;
  3. 会员模型(source=monkeycode):设置页行不可展开(2026-08-09 定案:“窗口/输出/图片/思考档都是随同步整组下来的,用户一项也改不了”),默认思考深度被物化为产品默认「低」,没有任何入口可以改

痛点

  • 用会员模型(monkeycode-basic/pro/ultra)且希望默认高思考档的用户,每个新任务、每个新会话都要手动切一次思考档
  • 服务端同步对 public 会员条目刻意忽略 thinking_enableddesktop/src/baizhi/monkeycode.rs:“该字段并不可靠……统一跟随产品默认档「低」”),所以连“云端配置”这条路也堵死了;
  • 代码注释里写着“真不支持的由用户在设置页调 off”,但设置页恰恰不允许编辑会员行——注释的假设与 UI 现状自相矛盾,这条注释所依赖的出口并不存在。

建议

放开会员模型「思考深度」这一个字段的本地默认值编辑(其余窗口/输出/视觉等仍随同步整组管理,不动):

  1. 入口:设置页会员行允许展开,但只露「思考深度」一项可编辑(其余字段照旧只读或不出);或在账号页会员卡上加一个“会员模型默认思考深度”选择器,作用到全部会员条目(二选一,前者更贴近现有“每模型默认档”的语义);
  2. 重同步存活:会员组重同步是整组替换(mergeSyncedModels),本地改的 think 必须有合并策略(如按条目名保留本地 think 覆盖,仅当云端显式下发 off 时才让位——私有/团队条目 thinking_enabled=false 落 off 的现有行为应保留);
  3. 落点:改动只影响壳侧物化进 config.json 的每条目 think 值,引擎侧链路已被自定义模型验证过,无需动内核。

收益

  • 高频场景(默认高思考档跑会员模型)从“每次手切”变为一次配置;
  • 修复上述注释与 UI 的矛盾:让“由用户在设置页调 off”真正成立。

关联

  • #1175:MiniMax-M3 桌面端无法使用思考模式(自定义模型的思考档 bug,属另一问题)。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading desktop/src/baizhi/monkeycode.rs, especially the handling of thinking_enabled and mergeSyncedModels, then trace how synced models are materialized into config.json and displayed in the desktop settings page. Decide which proposed settings entry point fits the existing model semantics, preserve local think values across group replacement, and verify that private or team entries with thinking_enabled=false still resolve to off.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, typescript
Domain
ai, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.