Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Codex V2 adapter forces summary: "detailed", so Codex fails on every turn with Amazon Bedrock

オープン 初心者向け
#14,952 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Mnigos がすでに取り組んでいます。

2026年10月3日 から。

  • #14975 @Mnigos による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, typescript
領域
api, backend, cloud

調査の方向性

apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts の 763 行付近から始め、config/read が model_reasoning_summary をどのように公開しているか、また turn/start がどのように組み立てられているかを確認します。値が設定されている場合はリクエストでその設定値を使用し、設定されていない場合は detailed ではなく auto を使用するようにします。Bedrock の turn が成功し、設定された summary 値が尊重され、OpenAI の reasoning timeline にリグレッションが発生しなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

bug via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/server

Steps to reproduce
  1. Configure Codex to use Amazon Bedrock's OpenAI-compatible Responses API as its model provider. I tested in us-east-1 with openai.gpt-6.1-sol.
  2. Optionally, set model_reasoning_summary = "none" in ~/.codex/config.toml.
  3. On a build that includes de34391 (#2829), start a Codex thread with that model and send any message.
Expected behavior

The turn runs, as it did before orchestrator V2, and T3 uses model_reasoning_summary from the Codex config.

Actual behavior

Every turn fails with the error in the logs below, and setting model_reasoning_summary = "none" makes no difference.

The Codex V2 adapter sends summary: "detailed" in every turn/start request (CodexAdapterV2.ts#L763). Codex documents that field as "Override the reasoning summary for this turn and subsequent turns", so it replaces both the user's config and the model catalog's default of none. Before V2, T3 didn't send summary at all.

With openai.gpt-6.1-sol, Bedrock rejects detailed and concise and accepts auto and none. It also rejected detailed for every other OpenAI model I tried, from GPT-5.5 to GPT-6.1 Sol. Codex alone gives the same result:

codex exec -m openai.gpt-6.1-sol -c model_reasoning_summary=detailed "Reply with just: ok"  # unsupported_parameter
codex exec -m openai.gpt-6.1-sol -c model_reasoning_summary=auto "Reply with just: ok"      # ok

Suggested fix: when the user's Codex config sets model_reasoning_summary (returned by config/read), send that value. Otherwise, send auto instead of detailed. OpenAI documents auto as "the most detailed summarizer available for a model", and says it is equivalent to detailed for most reasoning models today, so the reasoning timeline keeps working on OpenAI. Bedrock accepts auto and returns summary: null.

Impact

Blocks work completely

Version or commit

main @ de34391 (#2829). The line is still on main at 8ed276c.

Environment

macOS 26, Codex CLI 0.160.0, Amazon Bedrock Responses API (us-east-1)

Logs or stack traces
{"error":{"code":"unsupported_parameter","message":"Unsupported parameter: 'reasoning.summary' is not supported with the 'openai.gpt-6.1-sol' model.","param":"reasoning.summary","type":"invalid_request_error"}}
Screenshots, recordings, or supporting files

No response

Workaround

None on V2, because T3 overrides the config value. A build from before #2829 works.

主要言語
TypeScript
スター
24.8k
フォーク
6.4k
平均マージ
8時間 58分
マージ済み PR(30日)
278

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingdotgg/t3code のほかの issue

pingdotgg/t3code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。