kael-odin 802daa8fcd fix(openai): recognize MiMo in thinking disable
openAIThinkingDisableKind only matched dashscope/qwen/aliyun,
deepseek/bigmodel/z.ai/zhipu, and gpt-5.1+/gpt-6. Xiaomi MiMo
(api.xiaomimimo.com, model mimo-*) fell through to the default
branch, so when a user set reasoning=disabled the adapter wrote
no disable field and MiMo kept thinking enabled (extra latency +
reasoning token cost contrary to user intent).

Add xiaomimimo/mimo to the thinking_type case — MiMo uses the same
thinking:{type:"disabled"} shape as deepseek/glm, confirmed in
MiMo docs.

- openai.go: +2 conditions in openAIThinkingDisableKind
- openai_thinking_disable_test.go: cover MiMo (base/model/ultraspeed),
  regress deepseek/glm/z.ai/qwen/gpt-5.1/gpt-6/unknown, and verify
  applyOpenAIThinkingDisable writes thinking:{type:disabled} +
  deletes reasoning_effort for MiMo
2026-07-07 18:13:21 +08:00
2026-06-30 10:38:52 +08:00
2026-07-01 15:31:24 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:46:26 +08:00
2026-06-30 10:38:52 +08:00
2026-06-30 10:49:26 +08:00
2026-07-01 15:31:24 +08:00
2026-06-30 10:38:52 +08:00

image image image

为什么做这个项目

公司喜欢把 Agent 服务与模型绑定在一起,让用户只能在指定模型、指定订阅和指定计费方式下使用工具。

我希望打破这种绑定关系:模型应该可以自由选择。开发者应该能够把自己的模型 API 接入到任何 IDE、Chat、Agent 或开发工具中,也可以自托管整套服务,避免被单一平台锁定。

这个项目的目标,是让模型选择权重新回到用户手里。

路线图

正式版路线图 详细使用教程

后续

后续会继续扩展更多工具和使用场景,包括但不限于:

  • 支持更多 IDE 接入
  • 支持更多 Chat 类应用
  • 支持更多 Agent 工具和工作流
  • 提供更完善的自托管部署方式
  • 持续优化不同模型 API 的兼容性
  • 降低接入成本,让已有模型额度可以被更充分地利用

最终希望做到:让你的模型 API 可以自由接入到你想使用的任何工具中。

Star History

Star History Chart
S
Description
No description provided
Readme MIT
22 MiB
Languages
Go 86.4%
Vue 6.3%
JavaScript 4.8%
CSS 1%
NSIS 0.6%
Other 0.8%