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

Reasoning models fail every turn: tools + reasoning_effort rejected on /v1/chat/completions

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

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

@DevJoaoLopes đang làm issue này rồi.

Từ ngày 6/10/2026.

  • #104 của @DevJoaoLopes — đang mở

Đá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
55/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ệ
typescript
Lĩnh vực
ai, backend

Hướng nghiên cứu

Start with src/server/dot-agent.ts:15 and inspect how openaiCompatibleText calls Chat Completions and supplies tools. Reproduce the failure using a reasoning-by-default model with the reported Docker Compose setup. Decide whether to support the Responses API or configurable reasoning_effort, and document supported models; done means those models no longer fail each turn and the supported configuration is clear.

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

Mô tả

With a reasoning-by-default OpenAI model in OPENAI_MODEL, every Dot turn fails with:
400 Function tools with reasoning_effort are not supported for <model> in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'.

The agent uses openaiCompatibleText (Chat Completions only, src/server/dot-agent.ts:15) and always sends tools, so these models can't be used. Switching to gpt-5.4-mini fixed it.

Suggestion: support the Responses API or allow setting reasoning_effort, and document which models are supported.

Env: Docker Compose (compose.yml + computers overlays), main @ c2569bb, Chromium.

Ngôn ngữ chính
TypeScript
Star
2.8k
Fork
344
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
33

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

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 CopilotKit/OpenDots

Tất cả issue của CopilotKit/OpenDots

Issue tương tự

Thêm issue về TypeScript

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.