fix: correct \ URL to mimo.xiaomi.com in config#1505
Conversation
The \ field was pointing to opencode.ai/config.json which is incorrect for MiMo Code. Update all occurrences to use the correct URL: https://mimo.xiaomi.com/mimocode/config.json Fixes XiaomiMiMo#1369
|
简短说明 将配置中默认的 $schema URL 从 https://opencode.ai/config.json 修正为 https://mimo.xiaomi.com/mimocode/config.json,以适配 MiMo Code 场景,修复通过 /connect 生成的自定义 provider 配置无法生效的问题。 为何修改 生成的配置文件里 $schema 指向错误的域名,导致某些配置被误导或无法按 MiMo 的约定解析。本 PR 将所有相关硬编码替换为 MiMo 官方 schema 地址。 如何验证 影响与风险 影响面:配置生成/解析流程。 回滚/后续 若需回退:回退该提交即可恢复旧行为。 ================================================== Short summary Update the default $schema URL from https://opencode.ai/config.json 到 https://mimo.xiaomi.com/mimocode/config.json so generated configs in MiMo Code workflows point to the correct schema; this fixes custom provider configs created via the /connect flow. Why The generated config file previously referenced the wrong domain, which could cause configs to be interpreted incorrectly for MiMo. This PR replaces the hard-coded schema URL with the correct MiMo schema endpoint. How to verify locally Check out this PR branch: gh pr checkout 1505 --repo XiaomiMiMo/MiMo-Code Impact & risk Impact: config generation / parsing flows. Rollback / follow-up Rollback: revert this commit to restore previous value. |
Summary
The \\ field in generated config files was pointing to \https://opencode.ai/config.json\ which is incorrect for MiMo Code. This caused custom provider configurations created via /connect\ to not work properly.
Update all occurrences to use the correct URL: \https://mimo.xiaomi.com/mimocode/config.json\
Changes
Test Plan
Fixes #1369