feat(images): reuse named connections and image request settings
Preserve the reviewed tree while removing obsolete stacked branch history. Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
1 parent
105b772203
commit
23941355a8
27 files changed
+381
-44
No files matched your search
@@ -1368,6 +1368,8 @@ export async function updateImageGenerationSettings(
|
||||
default_aspect_ratio: update.defaultAspectRatio,
|
||||
default_image_size: update.defaultImageSize,
|
||||
max_images_per_turn: update.maxImagesPerTurn,
|
||||
...(update.extraHeaders !== undefined ? { extra_headers: update.extraHeaders } : {}),
|
||||
...(update.extraBody !== undefined ? { extra_body: update.extraBody } : {}),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user