维护者确认:PR #3368 Chat Completions 桥接默认开启 image_url
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
PR #3368 把 Chat Completions 桥接层默认 capabilities 改为 fail-open 的 image_url,使所有不在硬编码白名单里的自定义供应商都会走图片格式转换。
这不是局部缺陷修复:默认能力面扩大后,不支持视觉的供应商也可能先收到图片再被拒绝。需要维护者确认:
- fail-open 是否是可接受的默认策略
- 能力拒绝 vs 内容无效的错误分类是否够严
- 是否应改为按供应商声明能力,而不是全局默认开启
确认方式:直接在 PR 上 Approve;需要修改请 Request Changes,作者改完后再 Approve 即放行。
---
关联 PR:#3368(作者 @Battleplus);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的技术架构调整,维护者确认后 PR 会恢复推进。
Contributor guide
Research direction
Start by reading PR #3368 and its Chat Completions bridge changes; the issue does not name specific files or tests. Review the default image_url capability behavior, error classification, and provider capability declarations. Done means a maintainer approves the approach, or the requested changes are made and the PR is approved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend-api-design
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100