Skip to content

fix: cap Responses image candidates#31

Merged
Minorli merged 1 commit into
mainfrom
fix/0.1.58-responses-image-count
Jul 11, 2026
Merged

fix: cap Responses image candidates#31
Minorli merged 1 commit into
mainfrom
fix/0.1.58-responses-image-count

Conversation

@Minorli

@Minorli Minorli commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • force and serialize Responses image tool calls with an explicit requested-count instruction
  • remove unsupported image_generation n and its non-idempotent retry path
  • cap successfully renderable candidates before extra files are persisted
  • release version 0.1.58

Production evidence

  • reproduced sample_count=1 returning 6 image tool calls in 395.3 seconds
  • compatible gateway rejects official max_tool_calls with 502
  • verified tool_choice + parallel_tool_calls=false + exact-count instruction against gpt-5.6-sol/xhigh: 200, one image call, 28.4 seconds

Verification

  • ./scripts/check.sh (386 passed)
  • coverage: 87%
  • node --check static/app.js
  • bash -n scripts/*.sh
  • docker compose config --quiet
  • uv lock --check
  • local health/readiness/static-version smoke test

@Minorli
Minorli merged commit 515b6f8 into main Jul 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant