-
feat: support disabling image generation globally
发布于
2026-04-29 19:42:27 +00:00 - Added
disable-image-generationconfiguration flag to disable theimage_generationtool globally. - Updated payload handling to remove
image_generationtools from request payload arrays when the flag is enabled. - Modified OpenAI image handlers (
ImagesGenerations,ImagesEdits) to return 404 when the feature is disabled. - Enhanced configuration diff logging to track changes for the
disable-image-generationflag. - Added accompanying unit tests for the new feature in payload helpers and image handler logic.
下载附件
- Added