0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. model
  6. /
  7. providers
  8. /
  9. anthropic
郑郑达奇fix: sanitize anthropic request metadata
aa3499b6创建于 7 天前历史提交
文件最后提交记录最后更新时间
defaults.ts
fix(model): default custom providers to image input Allow newly configured OpenAI/Anthropic-compatible models to read images without requiring per-model multimodal YAML. Co-authored-by: Cursor <cursoragent@cursor.com> 15 天前
request.ts
fix: sanitize anthropic request metadata Co-authored-by: Cursor <cursoragent@cursor.com> 7 天前
response.ts
feat: add model runtime foundation Co-authored-by: Cursor <cursoragent@cursor.com> 26 天前
stream.ts
fix(anthropic): limit cache breakpoints to 4 and mark transient errors retryable Trim message-level cache breakpoints to the 3 most recent (reserving 1 slot for the system prompt) to stay within Anthropic's 4-block limit. Classify overloaded/rate-limit/api/timeout stream errors as retryable so the agent loop can recover automatically. Co-authored-by: Cursor <cursoragent@cursor.com> 18 天前