Commit Graph

9 Commits

Author SHA1 Message Date
ddCat
8be75c1fbd refactor(core): 任务与模型协议治理 - 拆分服务职责并禁止已发起任务取消 2026-08-22 09:52:09 +08:00
ddCat
0002cdd2cb fix(security): 模型目录 - 收敛插件出站边界并保留补充能力元数据 2026-08-17 17:20:00 +08:00
ddCat
0ac7e2a2bb feat(provider): 模型目录 - 合并 PR #251 服务商发现插件 2026-08-17 17:11:10 +08:00
dingxin150015-commits
ea236b5956 feat(provider): add plugin system for service-specific model discovery
Model discovery currently assumes every provider exposes all models via
GET {baseURL}/models. Providers like Alibaba Cloud Bailian serve video,
3D and some image models through dedicated endpoints, so 21 models across
5 families (HappyHorse / Wan / Kling / PixVerse / Vidu / Tripo) are never
discoverable - a functional blocker for a video creation workbench.

This introduces a ModelDiscovery plugin interface with a registry that
matches vendor plugins by base URL and falls back to the standard OpenAI
implementation, keeping core discovery logic vendor-agnostic.

- add provider.ModelDiscovery interface and plugin registry
- add openai plugin (standard behaviour, default fallback)
- add bailian plugin (standard + 21 extended multimodal models)
- gate behind ENABLE_PROVIDER_PLUGINS, default false
- register plugins lazily from service layer to avoid import cycle

Verified locally: flag off -> 238 models (unchanged); flag on -> 257
models (238 + 19 net new after dedup). OpenAI and Gemini channels
unaffected in both modes.
2026-08-17 13:47:27 +08:00
Codex
6d6ad67dae fix(models): 模型目录 - 识别公共视频能力并按声明发送分辨率 2026-08-16 22:35:20 +08:00
ddCat
57e1820f41 feat(runtime): 即梦本机运行时 - 接入安全生成闭环与桌面本机渠道
Refs #225

Co-authored-by: zkhyww <127009345+zkhyww@users.noreply.github.com>
2026-08-15 12:45:29 +08:00
爱笑的毛毛虫
5088f66e91 fix(canvas): 分镜与视频模型 - 按端点协议适配并修复分镜生成
* fix(backend): 分镜生成 - 自动修复携带原始剧情并支持有界重试

* fix(canvas): 视频模型 - 按端点协议拉取模型并适配分镜视频节点

* fix(canvas): 视频模型 - 保留已有协议并刷新分镜节点模型

* fix(canvas): 引用图预览 - 修正提示面板代码格式

---------

Co-authored-by: sikongyue <3155157671@qq.com>
Co-authored-by: ddCat <2695092045@qq.com>
2026-08-10 01:42:47 +08:00
ddCat
6de81049bf fix(api): 渠道请求头 - 补充自定义 Header 配置并应用到上游请求
Refs #39
2026-07-29 20:57:24 +08:00
yep
243c43f6c2 feat(admin): 模型管理 - 支持从上游渠道拉取模型目录 (#36)
以 main 为基线仅补齐拉取模型能力:管理员可一键导入缺失模型(默认停用待定价),并提供登录态后端代理目录接口避免 CORS。

Co-authored-by: ddcat666 <2695092045@qq.com>
2026-07-23 22:04:54 +08:00