GPT-6 models are sent max_tokens and rejected (not treated as reasoning models)
I maintainer di solito rispondono entro 1 giorno
@paullizer ci sta già lavorando.
Dal 2/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 157
- Fork
- 117
- Merge medio
- 4h 19m
- PR unite (30g)
- 200
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/simplechat
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
microsoft/simplechat#1491 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
microsoft/simplechat#1370 ·
I maintainer di solito rispondono entro 1 giorno
-
V2: triage multi-turn UI failures and make saved-memory orchestration validation reliableForse già presa @paullizer l’ha presa oggi. Apertabug P1
microsoft/simplechat#1785 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Hyphenated action names fail Semantic Kernel loading silently; add permission-aware recovery in both chat UIsForse già presa @paullizer l’ha presa 1 giorno fa. Apertabug enhancement P1
microsoft/simplechat#1781 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
V2 workspace documents: fix public source discovery and verify metadata-analysis parity across scopesForse già presa @paullizer l’ha presa 1 giorno fa. Apertabug P1
microsoft/simplechat#1778 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/simplechat
Issue simili
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
awslabs/visual-asset-management-system#514 ·
I maintainer di solito rispondono entro 1 giorno
-
backend bug spec:REQ-053
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
nolte/kamerplanter#2547 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
EleutherAI/lm-evaluation-harness#4425 ·
I maintainer di solito rispondono entro 1 giorno
-
Gemini: respect PLANNING_DISABLED=1 in lifecycle context hooksForse già presa @AmariAugustin l’ha presa oggi. Apertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
OthmanAdi/planning-with-files#329 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
wr.dynamodb.read_items returns [{}] for a single partition value that does not existForse già presa @auraseb l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
aws/aws-sdk-pandas#3520 ·
I maintainer di solito rispondono entro 2 giorni