GPT-6 models are sent max_tokens and rejected (not treated as reasoning models)
メンテナーはふだん 1 日以内に返信
@paullizer がすでに取り組んでいます。
2026年10月2日 から。
評価
この issue はまだ評価されていません。
説明
Issue
GPT-6 deployments, such as gpt-6-astra, fail with a 400 whenever SimpleChat sets a response length:
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
This affects:
- every workflow model call once the model's token limits are configured, because the workflow budget always sets a response length;
- chat when Response Length is set.
Found on a SimpleChat POC deployment running the React v2 branch.
Steps to Reproduce
- Add a GPT-6 deployment, such as
gpt-6-astra, as a model and configure its token limits (context window, output limit, total-generation accounting). - Run a workflow whose agent uses that model. Alternatively, chat with it with Response Length set.
Expected Behavior
SimpleChat sends max_completion_tokens and no temperature, as it does for GPT-5 and o-series models.
Actual Behavior
ModelEndpointBehavior.is_openai_reasoning_model in application/single_app/model_endpoint_clients.py recognizes only gpt-5, o1, o3 and o4 names (OPENAI_REASONING_MODEL_PREFIXES). GPT-6 deployments get max_tokens and a temperature, and the request is rejected. The same check exists on Development, main and the React v2 branch.
Impact
Workflows that use a GPT-6 model fail on their first model call. Prompt variables, content screening and orchestration share the same policy, so they send GPT-6 the same wrong parameters.
Notes
- Fix: recognize
gpt-6likegpt-5, as a name prefix and as a family name inside deployment or display names. Add a regression test for the GPT-6 names and the workflow budget's parameter choice. - Already fixed on the React v2 branch in 0.261.219 (
test_gpt6_reasoning_model_parameters.py,docs/explanation/fixes/GPT6_REASONING_MODEL_PARAMETERS_FIX.md). Needs porting to Development.
- 主要言語
- Python
- スター
- 157
- フォーク
- 117
- 平均マージ
- 4時間 3分
- マージ済み PR(30日)
- 217
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/simplechat のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/simplechat#1491 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/simplechat#1370 ·
メンテナーはふだん 1 日以内に返信
-
Stale activeGroupOid after group removal interrupts chat in legacy and React V2対応中かも @paullizer が今日担当しました。 オープンbug P1
microsoft/simplechat#1816 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Simple Chat - NLRオープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
microsoft/simplechat#1804 ·
メンテナーはふだん 1 日以内に返信
-
Simple Chat - NLRオープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/simplechat#1803 ·
メンテナーはふだん 1 日以内に返信
microsoft/simplechat の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
volcengine/OpenViking#6445 ·
メンテナーはふだん 1 日以内に返信
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be edited対応中かも @ManyaJain111 が今日担当しました。 オープンbug enhancement possible-duplicate
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
AOSSIE-Org/PictoPy#1637 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
deepspeedai/DeepSpeed#8884 ·
メンテナーはふだん 3 日以内に返信
-
Flaky: test_advisor_live_calibrates_an_unmeasured_circuit ranks engines by a 1.8ms sleep marginオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
flagos-ai/FlagQuantum#718 ·
メンテナーはふだん 1 日以内に返信
-
bug CI-failure high priority
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
vllm-project/afd-plugin#483 ·
メンテナーはふだん 1 日以内に返信