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

未关闭
#432 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
12/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
8
派生
1
平均合并
1 小时 24 分钟
30 天内合并 PR
192

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

0xPolygon/codegenie 的其他 Issue

查看 0xPolygon/codegenie 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。