fix: set response_format as b64_json
This commit is contained in:
@@ -191,6 +191,23 @@ export const ImageSizeConfig: ParamsSchema[] = [
|
||||
required: false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'Select',
|
||||
name: 'response_format',
|
||||
formItemAttrs: {
|
||||
hidden: true
|
||||
},
|
||||
options: [{ label: 'b64_json', value: 'b64_json' }],
|
||||
label: {
|
||||
text: 'Response Format',
|
||||
isLocalized: false
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
required: false
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -70,6 +70,7 @@ export const openaiCompatibleFieldsDefaultValus = {
|
||||
export const imgInitialValues = {
|
||||
n: 1,
|
||||
size: '512x512',
|
||||
response_format: 'b64_json',
|
||||
width: 512,
|
||||
height: 512
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user