feat(image): default response_format to url for upstream compatibility
This commit is contained in:
1 parent
b612af1c38
commit
3c5e5dd023
3 files changed
+9
-4
No files matched your search
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user