diff options
| author | Chia <Chia@93.nz> | 2026-08-06 09:29:41 +1200 |
|---|---|---|
| committer | Chia <Chia@93.nz> | 2026-08-06 09:32:46 +1200 |
| commit | 41e322c53d7b4b796eb377d0df9c29ecd10ba431 (patch) | |
| tree | c730526150e55e39b822d5197e4a20318ecaa449 /config.responses.example.json | |
| parent | eadb2ffe85c43cf6fc741c9823cd28eedb4a844c (diff) | |
feat: complete commercial control plane, billing, auth, and model catalog
- add PostgreSQL control-plane persistence with Redis-degraded hot reload
- implement prepaid balance, usage ledger, Stripe top-up and reconciliation
- add registration, email verification, password reset, invitations and RBAC
- support TOTP, Passkey MFA, device sessions, quotas and rate limits
- add tenant billing profiles, audit logs and operational readiness checks
- build authenticated admin console, Quickstart, Playground and usage analytics
- add public model catalog with pricing, filtering and cost estimation
- support OpenAI Responses providers and provider health failover
- validate real upstream usage reporting and balance settlement
Diffstat (limited to 'config.responses.example.json')
| -rw-r--r-- | config.responses.example.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/config.responses.example.json b/config.responses.example.json new file mode 100644 index 0000000..af1611b --- /dev/null +++ b/config.responses.example.json @@ -0,0 +1,47 @@ +{ + "server": { + "address_env": "AIGW_SERVER_ADDRESS", + "max_body_bytes": 16777216, + "read_header_timeout_seconds": 10, + "idle_timeout_seconds": 120, + "shutdown_timeout_seconds": 20 + }, + "auth": { + "keys_env": "AIGW_API_KEYS", + "allow_anonymous": false + }, + "upstream_http": { + "max_idle_connections": 4096, + "max_idle_connections_per_host": 1024, + "idle_connection_timeout_seconds": 90, + "response_header_timeout_seconds": 60 + }, + "observability": { + "usage_buffer": 8192, + "expose_metrics": true + }, + "providers": [ + { + "id": "openai-responses", + "slug": "openai-responses", + "protocol": "openai", + "wire_api": "responses", + "base_url_env": "OPENAI_BASE_URL", + "api_key_env": "OPENAI_API_KEY" + } + ], + "models": [ + { + "id": "openai/gpt-5.5", + "owned_by": "openai", + "routes": [ + { + "provider": "openai-responses", + "upstream_model": "gpt-5.5", + "priority": 0, + "weight": 100 + } + ] + } + ] +} |
