Files
anthropic-proxy/config.example.yaml
T
2026-04-10 18:15:49 +02:00

56 lines
1.2 KiB
YAML

port: 8082
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: "anomalyco/opencode"
replace: "anthropics/claude-code"
- match: "anomalyco"
replace: "anthropic"
- match: "oh-my-opencode"
replace: "system-directive"
- match: "ohmyopencode"
replace: "claude-code"
- match: "oh-my-openagent"
replace: "claude-agent"
- match: "omo_internal_initiator"
replace: "system_initiator"
- match: "call_omo_agent"
replace: "call_agent"
- match: "opencode.ai"
replace: "claude.ai"
- match: "opencode"
replace: "agent"
logging:
level: info
# file: /var/log/anthropic-proxy.log # omit to log to stderr
# max_size_mb: 100
# max_backups: 5
# max_age_days: 30
# compress: true