openclaw_oauth_sync/configs/openclaw-anthropic.json
sol 0b94cb8fd5 policies: add standard policy files, formatting, and secret scanning
- Add .editorconfig, .prettierrc, .prettierignore, .gitignore
- Add Makefile with fmt, fmt-check, secret-scan, test (skip) targets
- Add package.json with prettier
- Add tools/secret-scan.sh
- Add .secret-scan-allowlist for documentation token format references
- Sanitize documentation to use generic placeholders
- Auto-format with prettier
- make check passes clean
2026-03-01 07:28:54 +00:00

31 lines
816 B
JSON

{
"_comment": "Anthropic model configuration for OpenClaw. Merge into openclaw.json via setup wizard.",
"_warning": "Do NOT add 'anthropic' to models.providers — the built-in provider handles it. Adding a custom one causes double /v1 in URLs resulting in 404 errors.",
"agents_defaults_model": {
"primary": "anthropic/claude-opus-4-6",
"fallbacks_to_add": ["anthropic/claude-sonnet-4-6"]
},
"agents_defaults_models": {
"anthropic/claude-opus-4-6": {
"alias": "Claude Opus 4.6 (Max)"
},
"anthropic/claude-sonnet-4-6": {
"alias": "Claude Sonnet 4.6 (Max)"
}
},
"auth_profile": {
"anthropic:default": {
"type": "oauth",
"provider": "anthropic",
"access": "@@TOKEN@@"
}
},
"env_vars": {
"ANTHROPIC_OAUTH_TOKEN": "@@TOKEN@@"
}
}