Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ccproxy/plugins/claude_api/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ async def prepare_provider_request(
# Always set Authorization from OAuth-managed access token
filtered_headers["authorization"] = f"Bearer {token_value}"

# PATCH: Add Computer Use beta headers for Anthropic API
# These are required for browser automation tools to work
filtered_headers["anthropic-version"] = "2023-06-01"
filtered_headers["anthropic-beta"] = "computer-use-2025-01-24"

# Add CLI headers if available, but never allow overriding auth
cli_headers = self._collect_cli_headers()
if cli_headers:
Expand Down
Loading