You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: skip default image_generation tool injection for gpt-5.3-codex-spark
gpt-5.3-codex-spark is a ChatGPT-account text-only Codex model; the
upstream rejects requests carrying the hosted image_generation tool.
PrepareResponsesBody used to auto-inject the default image tool (and
its bridge instructions) for any text request, so spark requests
failed on the HTTP upstream path where the WS-only stripping from
issue #220 never runs. Guard the auto-injection by model while still
honoring explicitly supplied image tools.
Closes#230
0 commit comments