Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

azure-ai-projects: gpt-6-luna returns 500 on project endpoint, works on resource endpoint

Đang mở
#49,169 9 bình luận 6 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, python
Lĩnh vực
api, cloud

Hướng nghiên cứu

Start by comparing the project endpoint with the resource endpoint using the supplied Python reproduction, then read the related issue #48943 and microsoft/agent-framework#8718. Confirm whether the project endpoint is returning incorrect model capabilities for gpt-6-luna; the expected result is successful responses with reasoning parameters supported, matching the resource endpoint. The report indicates this may be a service-side issue rather than an SDK change.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

AI Projects Service Attention
  • Package Name: azure-ai-projects
  • Package Version: 2.6.1
  • Operating System: macOS
  • Python Version: 3.12

Describe the bug
gpt-6-luna (2026-09-22, Global Standard, Sweden Central) fails on the Foundry project endpoint and works on the resource endpoint. gpt-6-sol and gpt-5.6-luna in the same project work on both. This reproduces with raw HTTP, so it looks like a service issue, not an SDK one. It's the same pattern as #48943, which was gpt-6-astra at its launch.

To Reproduce

from azure.ai.projects import AIProjectClient
from azure.identity import DefaultAzureCredential

project = AIProjectClient(
    endpoint="https://<resource>.services.ai.azure.com/api/projects/<project>",
    credential=DefaultAzureCredential(),
)
client = project.get_openai_client()

client.responses.create(model="gpt-6-luna", input="hello")
# -> 500 server_error, every time

client.responses.create(model="gpt-6-luna", input="hello", reasoning={"effort": "medium"})
# -> 400 "Unsupported parameter: 'reasoning.effort' is not supported with this model."

client.responses.create(model="gpt-6-sol", input="hello")
# -> 200

The same gpt-6-luna calls to https://<resource>.services.ai.azure.com/openai/v1/responses return 200, and reasoning effort is accepted there.

What it looks like
On a streaming call to the project endpoint, the first response.created event shows gpt-6-luna with every reasoning field empty and top_p: 1.0. gpt-6-sol shows effort medium, context all_turns and top_p: 0.98. So the project endpoint seems to treat gpt-6-luna as a model without reasoning support.

Request IDs

  • 500: 542dd8ff-9577-469e-90dc-e01e23c001da, 515f279b-6158-4138-97cc-d1c3df8cd42b
  • 400: d52a9067-b2d1-413b-b0e1-8c69cd14e804

Expected behavior
gpt-6-luna works on the project endpoint, like gpt-6-sol does.

Related: microsoft/agent-framework#8718, which shows the same Luna-only reasoning.effort rejection through Foundry Agents.

Ngôn ngữ chính
Python
Star
5.6k
Fork
3.4k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
181

Chuẩn bị môi trường

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-sdk-for-python

Tất cả issue của Azure/azure-sdk-for-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.