feat(web): 角色与音频工作台 - 完善素材选择、生成参数与同步交互

This commit is contained in:
ddcat666 committed 2026-10-01 09:43:02 +08:00
1 parent 5650da6d31
commit 22e7331d04
77 files changed
+3641 -721

No files matched your search

+4 -4
View File
@@ -275,10 +275,10 @@ test("request logs display user credit billing independently from upstream cost"
expect(billingSummary).toContain("!log.billable");
expect(billingSummary).toContain("未扣积分");
expect(billingSummary).not.toContain("costAvailable");
expect(detailSource).toContain('["请求阶段", requestKindText(log.requestKind)]');
expect(detailSource).toContain('["计费属性", log.billable ? "计费调用" : "不计费"]');
expect(detailSource).toContain('["销售价格(积分)", billingText(log)]');
expect(detailSource).toContain('["上游成本", log.costAvailable');
expect(detailSource).toContain('label="请求阶段" value={requestKindText(log.requestKind)}');
expect(detailSource).toContain('label="计费" value={billingText(log)}');
expect(detailSource).toContain('label="请求 ID" value={<CopyValue value={log.id} />}');
expect(detailSource).toContain('label="供应商任务 ID" value={log.providerRequestId ? <CopyValue value={log.providerRequestId} /> : "未记录"}');
expect(apiSource).toContain("billingAmountMicrocredits: number");
expect(apiSource).toContain("billingAvailable: boolean");
});