Remove pi-ai Responses and Anthropic Messages compat overrides when upstream fixes effort encoding

Đang mở
#432 2 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 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
12/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

The overrides concern the pi-ai dependency's OpenAI Responses and Anthropic Messages routes; the issue names no files in this repository. Start by locating where the direct Anthropic Messages override and the Responses override are declared, and check the referenced Pi #12464 comment. Done means both route-specific checklists are run at a pi-ai bump and evidence is recorded before either override is changed.

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

Mô tả

enhancement stage7-harness

Status

Backlog maintenance tracker. Owner: whoever performs each pi-ai version bump. Keep this deliberately open and check both routes independently at every bump.

Scope

Track removal/requalification of the direct OpenAI Responses compatibility override and the direct Anthropic Messages override. The latter was shipped in 0.9.6 after #443/#446; it is only for provider anthropic with API anthropic-messages. Neither override applies to OpenRouter, Bedrock, or Vertex. The upstream observation is recorded at Pi #12464.

Removal criteria

  • Responses: verify native initial/continuation request effort and tool encoding; retain the existing matched reasoning controls before removing or narrowing the override.
  • Anthropic Messages: verify native initial and continuation effort for Claude Opus/Sonnet 5.5, and a matched Opus high/low control on the affected fixture. Do not infer effective effort from token similarity alone; report whether the provider echoes effort.
  • Remove each route independently only when upstream behavior is verified. If partly fixed, narrow only the corresponding override.

Next step

At the next pi-ai bump, owner runs both route-specific requalification checklists and records evidence before changing either override.

Ngôn ngữ chính
TypeScript
Star
8
Fork
1
Merge trung bình
1 giờ 24 phút
Pull request đã merge (30 ngày)
192

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 0xPolygon/codegenie

Tất cả issue của 0xPolygon/codegenie

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.