diff options
| author | Chia <Chia@93.nz> | 2026-08-05 00:26:25 +1200 |
|---|---|---|
| committer | Chia <Chia@93.nz> | 2026-08-05 00:33:31 +1200 |
| commit | 1a3d7f9a8a181df48f0e911cbe17a3fad3ab9ac9 (patch) | |
| tree | 8c92e1e7326fc67ed077a0a878697f1be14b43da /config.control.example.json | |
| parent | 5b651488b081b65fda8a323f228e139adb79a35d (diff) | |
add some scriptsmain
Diffstat (limited to '')
| -rw-r--r-- | config.control.example.json | 15 |
1 files changed, 14 insertions, 1 deletions
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": [] } - |
