jjaw
43a2c13173
优化图片生成意图字段扫描
2026-07-15 03:54:32 +08:00
Tassoi
d3a1835ed7
fix(image): strip Codex image_gen namespace declarations
2026-07-10 06:37:06 +00:00
li
a02700c16f
fix(image): 识别 Codex namespace image_gen 工具声明以拦截生图请求
...
分组 allow_image_generation=false 时,Codex /image 技能通过
namespace 工具声明(type=namespace, name=image_gen)和 Responses
Lite 的 input additional_tools 绕过了现有生图意图检测——现有逻辑
只识别 tools[].type == "image_generation" 这一种形式。
在 gjson 版(openAIJSONToolsContainImageGeneration)和 map 版
(hasOpenAIImageGenerationTool)检测中增加 namespace image_gen
识别;同时扫描 input[].type == "additional_tools" 中嵌套的工具
声明,覆盖 Responses Lite 格式。
Fixes #3608
2026-07-07 16:58:48 +08:00
name
8ac2e23fb3
refactor(gateway): defer OpenAI request map decoding
...
Keep the Responses hot path on raw request bytes until complex mutation or retry branches need a decoded map, reducing large-body retention under high concurrency.
2026-05-31 16:00:35 +08:00
2ue
bb4c1abe28
Fix image billing size normalization
2026-05-12 15:21:31 +08:00
2ue
6faa344916
feat: add OpenAI image generation controls
2026-05-05 03:26:54 +08:00