From 2de7be6aa4bc4b419de287b84932bb86fea53272 Mon Sep 17 00:00:00 2001 From: ningzimu <619883006@qq.com> Date: Fri, 19 Jun 2026 22:56:26 +0800 Subject: [PATCH 1/2] fix: increase image request timeout --- CHANGELOG.md | 1 + skills/codex-gpt-image/scripts/codex_gpt_image.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1485db1..207b939 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Release notes are generated from this file. Keep changelog entries in English. ### Improvements +- Increase the default Codex Images request timeout to 600 seconds. - Route Codex OAuth image requests through the Codex Images endpoints instead of the Responses image-generation tool. (#2) - Add CLI options for moderation, output compression, edit masks, and end-user identifiers. (#2) - Align image size, background, and moderation defaults with the official Images API. (#2) diff --git a/skills/codex-gpt-image/scripts/codex_gpt_image.py b/skills/codex-gpt-image/scripts/codex_gpt_image.py index 48dd6a4..aa8257b 100644 --- a/skills/codex-gpt-image/scripts/codex_gpt_image.py +++ b/skills/codex-gpt-image/scripts/codex_gpt_image.py @@ -40,7 +40,7 @@ DEFAULT_OUTPUT_COMPRESSION = 100 DEFAULT_BACKGROUND = "auto" DEFAULT_MODERATION = "auto" -DEFAULT_TIMEOUT = 180 +DEFAULT_TIMEOUT = 600 DEFAULT_COUNT = 1 DEVICE_CODE_TIMEOUT = 15 * 60 DEVICE_CODE_DEFAULT_INTERVAL = 5 From 8c3e9d78e443d02f71971dcdd3fc2f002dd86e6f Mon Sep 17 00:00:00 2001 From: ningzimu <619883006@qq.com> Date: Fri, 19 Jun 2026 22:57:27 +0800 Subject: [PATCH 2/2] docs: reference timeout PR in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 207b939..21b5de5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Release notes are generated from this file. Keep changelog entries in English. ### Improvements -- Increase the default Codex Images request timeout to 600 seconds. +- Increase the default Codex Images request timeout to 600 seconds. (#3) - Route Codex OAuth image requests through the Codex Images endpoints instead of the Responses image-generation tool. (#2) - Add CLI options for moderation, output compression, edit masks, and end-user identifiers. (#2) - Align image size, background, and moderation defaults with the official Images API. (#2)