feat(image): default response_format to url for upstream compatibility

This commit is contained in:
openclaw committed 2026-10-19 09:45:43 +00:00
1 parent b612af1c38
commit 3c5e5dd023
3 files changed
+9 -4

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ export interface ImagePluginConfig {
allowPrivateNetwork?: boolean;
defaultModel?: string;
models?: string[];
responseFormat?: "url" | "b64_json";
}
export declare function resolvePluginApiKey(rawKey: string | SecretRefObject | undefined): string | undefined;
export declare function resolveImageConfig(cfg: ImageGenerationRequest["cfg"] | undefined, apiPluginConfig?: Record<string, unknown>): ImagePluginConfig | undefined;