summaryrefslogtreecommitdiff
path: root/config.control.example.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-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": []
}
-