[docs] Document Anthropic deprecated beta header retry handling#3667
[docs] Document Anthropic deprecated beta header retry handling#3667github-actions[bot] wants to merge 1 commit into
Conversation
When Anthropic API rejects a deprecated anthropic-beta header value, the proxy automatically retries the request with the deprecated value removed. The proxy also learns from these rejections and proactively strips deprecated values from subsequent requests in the same run. This behavior was implemented in commit 881da1d but was not documented. Users should be aware that deprecated header values are automatically corrected without requiring client-side changes. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Smoke Test ResultsPR #3667 — [docs] Document Anthropic deprecated beta header retry handling
Overall Status: FAIL cc
|
Smoke Test Results ✅All validation checks passed:
Status: PASS — Claude engine validation complete.
|
|
Smoke Test: Copilot BYOK (Offline Mode) ✅
Status: PARTIAL PASS (1 file test failed, core BYOK functionality working)
|
|
✅ GitHub MCP: Retry Anthropic requests after deprecated Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
Service Connectivity Results❌ Redis: Connection timeout (no PONG response) Overall: FAIL — Services on host.docker.internal are not reachable from AWF sandbox
|
Gemini Smoke Test Results: FAIL (MCP/Connectivity failed, File/Bash passed)Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS All build and test operations completed successfully across all supported language ecosystems.
|
Documentation Sync - Anthropic Beta Header Retry Handling
This PR synchronizes documentation with code changes from commit 881da1d by documenting the automatic retry behavior for deprecated Anthropic
anthropic-betaheader values.Changes Made
anthropic-betaheader valuesCode Changes Referenced
anthropic-betaheader rejection (Retry Anthropic requests after deprecatedanthropic-betaheader rejection #3657)"Verification
containers/api-proxy/proxy-request.jsThis is a documentation-only change that improves clarity for users relying on the Anthropic API proxy without changing any behavior or logic.