Files
CLIProxyAPIPlus/config.example.yaml
2025-08-21 02:53:28 +08:00

29 lines
616 B
YAML

# Server configuration
port: 8317
auth-dir: "~/.cli-proxy-api"
debug: true
proxy-url: ""
# Quota exceeded behavior
quota-exceeded:
switch-project: true
switch-preview-model: true
# API keys for client authentication
api-keys:
- "12345"
- "23456"
# Generative language API keys
generative-language-api-key:
- "AIzaSy...01"
- "AIzaSy...02"
- "AIzaSy...03"
- "AIzaSy...04"
# Claude API keys
claude-api-key:
- api-key: "sk-atSM..." # use the official claude API key, no need to set the base url
- api-key: "sk-atSM..."
base-url: "https://www.example.com" # use the custom claude API endpoint