GPT-6 models are sent max_tokens and rejected (not treated as reasoning models)
Maintainer thường phản hồi trong vòng 1 ngày
@paullizer đang làm issue này rồi.
Từ ngày 2/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 157
- Fork
- 117
- Merge trung bình
- 3 giờ 31 phút
- Pull request đã merge (30 ngày)
- 226
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/simplechat
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/simplechat#1491 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/simplechat#1370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add conversation references and queued AI handoffs across chat, orchestration, and workflowsCó thể đã có người làm @paullizer đã nhận hôm nay. Đang mởCreated By Copilot enhancement P2
microsoft/simplechat#1835 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stale activeGroupOid after group removal interrupts chat in legacy and React V2Có thể đã có người làm @paullizer đã nhận 2 ngày trước. Đang mởbug P1
microsoft/simplechat#1816 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Simple Chat - NLRĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoft/simplechat#1804 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/simplechat
Issue tương tự
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directoryCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởdifficulty:2 enhancement good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
MakazhanAlpamys/Soup#2178 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGLCó thể đã có người làm @ninglinLiu đã nhận hôm nay. Đang mởarea:frontend backend:slang bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 13 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Kozea/Radicale#2301 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ci good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày