From 5b651488b081b65fda8a323f228e139adb79a35d Mon Sep 17 00:00:00 2001 From: Chia Date: Tue, 4 Aug 2026 19:58:52 +1200 Subject: Build AI gateway control plane and admin UI --- config.control.example.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 config.control.example.json (limited to 'config.control.example.json') diff --git a/config.control.example.json b/config.control.example.json new file mode 100644 index 0000000..d2affaf --- /dev/null +++ b/config.control.example.json @@ -0,0 +1,40 @@ +{ + "server": { + "address": ":8080", + "max_body_bytes": 16777216, + "read_header_timeout_seconds": 10, + "idle_timeout_seconds": 120, + "shutdown_timeout_seconds": 20 + }, + "auth": { + "allow_anonymous": false + }, + "control_plane": { + "enabled": true, + "database_url_env": "AIGW_DATABASE_URL", + "redis_url_env": "AIGW_REDIS_URL", + "credential_key_env": "AIGW_CREDENTIAL_KEY", + "redis_channel": "aigw:control:changed", + "snapshot_cache_key": "aigw:control:generation", + "reload_interval_seconds": 30, + "auto_migrate": true + }, + "admin": { + "enabled": true, + "token_env": "AIGW_ADMIN_TOKEN", + "base_path": "/admin" + }, + "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": [], + "models": [] +} + -- cgit v1.2.3