From 41e322c53d7b4b796eb377d0df9c29ecd10ba431 Mon Sep 17 00:00:00 2001 From: Chia Date: Thu, 6 Aug 2026 09:29:41 +1200 Subject: 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 --- config.responses.example.json | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 config.responses.example.json (limited to 'config.responses.example.json') 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 + } + ] + } + ] +} -- cgit v1.2.3