summaryrefslogtreecommitdiff
path: root/config.control.example.json
diff options
context:
space:
mode:
authorChia <Chia@93.nz>2026-08-05 00:26:25 +1200
committerChia <Chia@93.nz>2026-08-05 00:33:31 +1200
commit1a3d7f9a8a181df48f0e911cbe17a3fad3ab9ac9 (patch)
tree8c92e1e7326fc67ed077a0a878697f1be14b43da /config.control.example.json
parent5b651488b081b65fda8a323f228e139adb79a35d (diff)
add some scriptsmain
Diffstat (limited to 'config.control.example.json')
-rw-r--r--config.control.example.json15
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": []
}
-