Files
anthropic-proxy/config.example.yaml
T
2026-04-14 21:56:32 +02:00

72 lines
2.0 KiB
YAML

port: 8082
# telemetry:
# service_name: "anthropic-proxy"
# export:
# endpoint: "localhost:4317" # OTLP gRPC endpoint (omit to disable export)
# insecure: true # disable TLS for local dev
# headers: # optional auth headers (e.g. Grafana Cloud)
# Authorization: "Basic ..."
# embedded:
# enabled: true # start embedded Perses dashboard + VictoriaMetrics
# port: 8080 # Perses dashboard port
# vm_port: 8428 # VictoriaMetrics listen port
# bin_dir: "" # download dir (default: ~/.cache/anthropic-proxy/bin)
# perses_binary: "" # custom path to perses binary (default: auto-download)
# vm_binary: "" # custom path to victoria-metrics binary (default: auto-download)
logging:
level: debug
file: /home/fujin/.local/log/anthropic-proxy.log
max_size_mb: 100
max_backups: 5
max_age_days: 30
compress: true
api_keys:
- "your-proxy-api-key"
claude_binary: "claude"
sanitize:
tools:
- from: "bash"
to: "Bash"
- from: "read"
to: "Read"
- from: "glob"
to: "Glob"
- from: "grep"
to: "Grep"
- from: "edit"
to: "Edit"
- from: "write"
to: "Write"
- from: "webfetch"
to: "WebFetch"
- from: "skill"
to: "Skill"
- from: "todowrite"
to: "TodoWrite"
system:
- match: "Workspace root folder"
replace: "Working directory"
body:
- match: "anthropics/claude-code"
replace: "anthropics/claude-code"
- match: "anthropic"
replace: "anthropic"
- match: "system-directive"
replace: "system-directive"
- match: "claude-code"
replace: "claude-code"
- match: "claude-agent"
replace: "claude-agent"
- match: "system_initiator"
replace: "system_initiator"
- match: "call_agent"
replace: "call_agent"
- match: "claude.ai"
replace: "claude.ai"
- match: "agent"
replace: "agent"