feat(media): 对象存储 - 新增腾讯云 COS 与历史凭据兼容

Co-authored-by: MasterChiefCN <49179444+MasterChiefCN@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com>
Original-PR: https://github.com/ddcat-ai/open-ai-canvas/pull/218
This commit is contained in:
MasterChiefCN
2026-08-14 10:10:15 +08:00
committed by GitHub
parent 7f0229463e
commit 95cb4a39ee
16 changed files with 497 additions and 83 deletions

View File

@@ -14,7 +14,7 @@ export function resourceStorageLabel(storageKey?: string) {
export function resourceStorageTitle(storageKey?: string) {
const location = resourceStorageLocation(storageKey);
if (location === "oss") return "已上传到 OSS,并以账号资源同步";
if (location === "local") return "保存在当前浏览器本地,通常是 OSS 未启用或上传失败后的降级";
if (location === "oss") return "已上传到对象存储,并以账号资源同步";
if (location === "local") return "保存在当前浏览器本地,通常是对象存储未启用或上传失败后的降级";
return "还没有可同步的资源标识";
}