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:
Xubin Renandchengyongru committed 2026-10-12 21:22:35 +08:00
1 parent 105b772203
commit 23941355a8
27 files changed
+381 -44

No files matched your search

+2
View File
@@ -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 } : {}),
},
);
}