Spaces:
Running
Running
| # ProxyPal generated config | |
| port: 7860 | |
| auth-dir: "./auth" | |
| api-keys: | |
| - "proxypal-local" | |
| debug: false | |
| usage-statistics-enabled: true | |
| logging-to-file: true | |
| logs-max-total-size-mb: 100 | |
| request-retry: 0 | |
| max-retry-interval: 0 | |
| # Quota exceeded behavior | |
| quota-exceeded: | |
| switch-project: false | |
| switch-preview-model: false | |
| # Enable Management API for OAuth flows | |
| remote-management: | |
| allow-remote: true | |
| secret-key: "bssg" | |
| disable-control-panel: false | |
| panel-github-repository: https://github.com/router-for-me/Cli-Proxy-API-Management-Center | |
| # OpenAI-compatible providers | |
| openai-compatibility: | |
| # GitHub Copilot GPT/OpenAI models (via copilot-api) | |
| - name: "copilot" | |
| base-url: "http://localhost:4141/v1" | |
| api-key-entries: | |
| - api-key: "dummy" | |
| models: | |
| - alias: "gpt-4.1" | |
| name: "gpt-4.1" | |
| - alias: "gpt-5" | |
| name: "gpt-5" | |
| - alias: "gpt-5-mini" | |
| name: "gpt-5-mini" | |
| - alias: "gpt-5-codex" | |
| name: "gpt-5-codex" | |
| - alias: "gpt-5.1" | |
| name: "gpt-5.1" | |
| - alias: "gpt-5.1-codex" | |
| name: "gpt-5.1-codex" | |
| - alias: "gpt-5.1-codex-mini" | |
| name: "gpt-5.1-codex-mini" | |
| - alias: "gpt-5.1-codex-max" | |
| name: "gpt-5.1-codex-max" | |
| - alias: "gpt-5.2" | |
| name: "gpt-5.2" | |
| - alias: "gpt-4o" | |
| name: "gpt-4o" | |
| - alias: "gpt-4" | |
| name: "gpt-4" | |
| - alias: "gpt-4-turbo" | |
| name: "gpt-4-turbo" | |
| - alias: "o1" | |
| name: "o1" | |
| - alias: "o1-mini" | |
| name: "o1-mini" | |
| - alias: "grok-code-fast-1" | |
| name: "grok-code-fast-1" | |
| - alias: "raptor-mini" | |
| name: "raptor-mini" | |
| - alias: "gemini-2.5-pro" | |
| name: "gemini-2.5-pro" | |
| - alias: "gemini-3-pro-preview" | |
| name: "gemini-3-pro-preview" | |
| - alias: "claude-haiku-4.5" | |
| name: "claude-haiku-4.5" | |
| - alias: "claude-opus-4.1" | |
| name: "claude-opus-4.1" | |
| - alias: "claude-sonnet-4" | |
| name: "claude-sonnet-4" | |
| - alias: "claude-sonnet-4.5" | |
| name: "claude-sonnet-4.5" | |
| - alias: "claude-opus-4.5" | |
| name: "claude-opus-4.5" | |
| # Routing strategy for multiple API keys | |
| routing: | |
| strategy: "round-robin" | |
| # Payload injection for thinking models | |
| # Antigravity Claude: Thinking budget mode: high (32768 tokens) | |
| # Gemini 3: Thinking level: high | |
| payload: | |
| default: | |
| # Antigravity Claude models - thinking budget | |
| - models: | |
| - name: "claude-sonnet-4-5" | |
| protocol: "claude" | |
| - name: "claude-sonnet-4-5-thinking" | |
| protocol: "claude" | |
| params: | |
| "thinking.budget_tokens": 32768 | |
| - models: | |
| - name: "claude-opus-4-5" | |
| protocol: "claude" | |
| - name: "claude-opus-4-5-thinking" | |
| protocol: "claude" | |
| params: | |
| "thinking.budget_tokens": 32768 | |
| override: | |
| - models: | |
| - name: gemini-3-pro-preview* | |
| protocol: "" | |
| params: | |
| generationConfig.thinkingConfig.includeThoughts: true | |
| generationConfig.thinkingConfig.thinkingLevel: high | |
| - models: | |
| - name: gemini-3-flash-preview* | |
| protocol: "" | |
| params: | |
| generationConfig.thinkingConfig.includeThoughts: true | |
| generationConfig.thinkingConfig.thinkingLevel: high | |
| # Amp CLI Integration - enables amp login and management routes | |
| # See: https://help.router-for.me/agent-client/amp-cli.html | |
| # Get API key from: https://ampcode.com/settings | |
| ampcode: | |
| upstream-url: "https://ampcode.com" | |
| # upstream-api-key: "" # Set your Amp API key from https://ampcode.com/settings | |
| # model-mappings: # Optional: map Amp model requests to different models | |
| # - from: claude-opus-4-5-20251101 | |
| # to: your-preferred-model | |
| restrict-management-to-localhost: false | |
| force-model-mappings: false | |
| # Additional settings | |
| request-log: true | |
| commercial-mode: false | |
| ws-auth: false |