Fix ecommerce generation history sync
CI / verify (pull_request) Waiting to run

This commit is contained in:
2026-06-18 10:16:40 +08:00
parent da9c5c2fca
commit a2ccf290e5
8 changed files with 860 additions and 71 deletions
+3 -1
View File
@@ -44,6 +44,7 @@ export interface ImageProviderDebug {
export interface ImageTaskCreateResponse {
taskId: string;
resultUrl?: string | null;
providerDebug?: ImageProviderDebug;
}
@@ -97,6 +98,7 @@ export interface ImageEditInput {
prompt?: string;
maskUrl?: string;
ratio?: string;
referenceUrls?: string[];
n?: number;
}
@@ -126,7 +128,7 @@ export type ChatMessageContent =
| Array<{ type: "text"; text: string } | { type: "image_url"; image_url: { url: string } }>;
export interface ChatInput {
model: string;
model?: string;
messages: Array<{ role: string; content: ChatMessageContent }>;
stream?: boolean;
temperature?: number;