anthropics / anthropics/claude-code

[Bug] Anthropic API Error: Opus 5 Safeguards Flagged Legitimate Request

Đang mở
#87,907 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:model bug platform:vscode platform:windows stale
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**Bug Description**
❯ bonjour

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Session paused

Opus 5 (1M context)'s safeguards flagged this message. Our intentionally broad safeguards allow us to deliver more capabilities faster, but can sometimes flag legitimate coding, cybersecurity, and biology tasks. Send feedback with /feedback or learn more: https://support.claude.com/en/articles/16049681

Details: `[cyber]`

❯ 1. Switch to Opus 4.8
2. Edit prompt and retry with Opus 5 (1M context)

**Environment Info**
- Platform: win32
- Terminal: vscode
- Version: 2.1.235
- Feedback ID: df19c124-77cf-42f2-be3c-a80239803ca8

**Errors**
```json
[]
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start by reproducing the reported prompt in Claude Code 2.1.235 on win32 through the VS Code terminal with Opus 5 (1M context), then compare the result with Opus 4.8. Use feedback ID df19c124-77cf-42f2-be3c-a80239803ca8 to investigate; done requires identifying a reproducible cause or a confirmed fix for the false-positive safeguard response.

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

Đánh giá

Công nghệ
vscode
Lĩnh vực
security
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.