Commit Graph

7 Commits

Author SHA1 Message Date
3c25511f47 build(ports): 本地开发改用 7380/7381 避开端口冲突
Some checks failed
Publish container images / Quality checks (push) Has been cancelled
Publish container images / Resolve build version (push) Has been cancelled
Publish container images / Build open-ai-canvas-backend (amd64) (push) Has been cancelled
Publish container images / Build open-ai-canvas-backend (arm64) (push) Has been cancelled
Publish container images / Build open-ai-canvas-web (multi) (push) Has been cancelled
Publish container images / Publish open-ai-canvas-backend manifest (push) Has been cancelled
Publish container images / Publish open-ai-canvas-web manifest (push) Has been cancelled
Publish container images / Publish release assets (push) Has been cancelled
2026-09-21 14:54:20 +08:00
AetherNo2332
ea44d445b4 build(deploy): 部署配置 - 转发 CANVAS_PUBLIC_BASE_URL (#564)
Original-Commit: 1734438cd00963a607795b2a6640ab7827e487e0
build(deploy): 部署配置 - 转发 CANVAS_PUBLIC_BASE_URL

后端读 CANVAS_PUBLIC_BASE_URL(resource.go 用它拼本地存储的短时签名链接,取不到时的报错
也在提示管理员配置它),但 5 个 Compose 文件都没有把它传进容器:按报错操作的管理员把变量
写进 .env 之后没有任何效果,而报错文案仍在让他"去配置"。

5 个编排与 .env.example 一并补齐(默认空值,行为与现状一致),并说明内网部署还需把该主机
放进 CANVAS_ALLOWED_PRIVATE_UPSTREAM_HOSTS。无代码改动。
2026-09-21 09:37:19 +08:00
ddCat
db66ac1182 feat(deploy): 在线更新 - 新增后台检查、强制备份迁移与失败自动回退 2026-08-30 22:15:17 +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
ddcat666
012f61238b fix(platform): 渠道并发 - 支持后台热配置并等待空闲槽位 (#34)
Co-authored-by: ddCat <ddcat666@88.com>
2026-07-23 18:35:51 +08:00
Hao OUYANG
ef65839c9d fix(security): 私有上游 - 支持精确主机白名单 2026-07-22 21:25:41 +08:00
ddCat
aea35896eb feat(platform): 开源发布 - 初始化 Open AI Canvas 2026-07-22 14:29:10 +08:00