From 1a3d7f9a8a181df48f0e911cbe17a3fad3ab9ac9 Mon Sep 17 00:00:00 2001 From: Chia Date: Wed, 5 Aug 2026 00:26:25 +1200 Subject: add some scripts --- config.control.example.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'config.control.example.json') diff --git a/config.control.example.json b/config.control.example.json index d2affaf..d601b43 100644 --- a/config.control.example.json +++ b/config.control.example.json @@ -24,6 +24,20 @@ "token_env": "AIGW_ADMIN_TOKEN", "base_path": "/admin" }, + "billing": { + "enabled": true, + "currency": "usd", + "default_max_output_tokens": 4096, + "min_top_up_minor": 500, + "max_top_up_minor": 1000000, + "stripe": { + "enabled": true, + "api_key_env": "AIGW_STRIPE_API_KEY", + "webhook_secret_env": "AIGW_STRIPE_WEBHOOK_SECRET", + "success_url": "http://127.0.0.1:8080/admin/?topup=success", + "cancel_url": "http://127.0.0.1:8080/admin/?topup=cancel" + } + }, "upstream_http": { "max_idle_connections": 4096, "max_idle_connections_per_host": 1024, @@ -37,4 +51,3 @@ "providers": [], "models": [] } - -- cgit v1.2.3