Description
官方博客(mimo.xiaomi.com/blog/mimo-code-long-horizon)
Max Mode 的核心机制:
- 每轮并行生成 N 个候选方案(默认 N=5)
- 每个候选独立完成推理和工具调用规划,不实际执行
- 用同一个模型作为 judge 比较所有候选,选出最优方案执行
- 默认 temperature=1,确保候选方案多样化
- SWE-Bench Pro 上比单次采样提升 10-20%,token 消耗约 4-5 倍
- 博客原文:"Max Mode is currently an experimental feature and must be enabled manually through configuration."
官方 README(npm + GitHub)
Max Mode (parallel best-of-N reasoning with judge selection) can be enabled via experimental.maxMode in the config.
矛盾之处
问题在于:官方 config schema(opencode.ai/config.json)中的 experimental 对象不包含 maxMode 字段,且设置了 additionalProperties: false,所以写入 maxMode: true 会导致验证失败。
结论
这是 文档与实现不同步 的 bug。README 和博客说可以通过 experimental.maxMode 启用,但实际 schema 不支持。
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
官方博客(mimo.xiaomi.com/blog/mimo-code-long-horizon)
Max Mode 的核心机制:
官方 README(npm + GitHub)
矛盾之处
问题在于:官方 config schema(
opencode.ai/config.json)中的experimental对象不包含maxMode字段,且设置了additionalProperties: false,所以写入maxMode: true会导致验证失败。结论
这是 文档与实现不同步 的 bug。README 和博客说可以通过 experimental.maxMode 启用,但实际 schema 不支持。
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response