Skip to content

feat: support current image generation tool options - #4932

Merged
seratch merged 1 commit into
mainfrom
feat/image-generation-tool-options
Sep 9, 2026
Merged

seratch merged 1 commit into
mainfrom
feat/image-generation-tool-options

Conversation

@seratch

@seratch seratch commented Sep 8, 2026

Copy link
Copy Markdown
Member

This pull request allows ImageGenerationTool to accept current Responses API image-generation options, including gpt-image-2.5-sunburst, gpt-image-2.5-flare, and quality="xhigh" or "max", without caller casts when upstream annotations lag behind the API.

Constructor overloads accept dictionaries and upstream typed configurations. The mutable config field remains dynamically typed to preserve reassignment and mutation, and settings are forwarded unchanged for provider validation. The example demonstrates an explicit image model, generation action, and custom size.

see also: https://developers.openai.com/api/docs/guides/image-generation?generate-images-api=responses

@seratch seratch added this to the 0.22.x milestone Sep 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-09T00:32:27.807206Z cd180ce New commits
🔒 Security Review ✅ Completed 2026-09-09T00:31:29.835003Z cd180ce New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a0a4e2463e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tool.py Outdated
@seratch
seratch force-pushed the feat/image-generation-tool-options branch from a0a4e24 to 11b6682 Compare September 8, 2026 21:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 11b6682093

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tool.py Outdated
Comment thread src/agents/tool.py Outdated
@seratch
seratch force-pushed the feat/image-generation-tool-options branch from 11b6682 to 7d507cd Compare September 8, 2026 22:32

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d507cd0e8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tool.py Outdated
@seratch
seratch force-pushed the feat/image-generation-tool-options branch from 7d507cd to 687b74d Compare September 8, 2026 22:53

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 687b74daf8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tool.py Outdated
@seratch
seratch force-pushed the feat/image-generation-tool-options branch from 687b74d to 43c0283 Compare September 8, 2026 23:35

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 43c0283219

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/agents/tool.py Outdated
Comment thread src/agents/tool.py Outdated
@seratch
seratch force-pushed the feat/image-generation-tool-options branch from 43c0283 to cd180ce Compare September 9, 2026 00:27
@seratch
seratch merged commit 2b5057f into main Sep 9, 2026
18 checks passed
@seratch
seratch deleted the feat/image-generation-tool-options branch September 9, 2026 01:26
@seratch seratch mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant