mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-06-06 03:30:40 +08:00
## Summary - 移除 `media-proxy` curl 命令中硬编码的 `"provider": "dashscope"`,改为仅传 `"serviceType": "image_gen"` 让系统自动匹配已启用的供应商 - 修改 frontmatter `provider: dashscope` → `provider: auto` - 更新前置条件和错误处理描述,不再要求配置 DashScope 专用 Provider - Bump version 1.1.1 → 1.2.0 ## Background 之前技能硬编码了 `"provider": "dashscope"`,导致使用中转 key(如 DesireCore Cloud / 鹏耀科技)时 `findProvider` 按 slug 匹配不到已启用的供应商,文生图功能无法使用。 改为 `serviceType: "image_gen"` 自动发现后,`findProvider` 会在所有已启用的 provider 中查找支持 `image_gen` 服务类型的供应商,兼容直连和中转场景。 ## Changes | File | Change | |------|--------| | `SKILL.md` | 去掉 curl 中 `"provider": "dashscope"`;更新 prerequisites / error handling | | `SKILL.zh-CN.md` | 同步中文版修改 | ## Test plan - [ ] 使用 DesireCore Cloud(鹏耀科技)默认算力,发送「画一幅小狗」验证技能触发和图片生成 - [ ] 使用独立 DashScope API Key 配置,验证兼容性