chore(config): configure LLM provider and cost limits

This commit is contained in:
Rafał Tyński
2026-10-04 02:52:45 +02:00
parent 03e2d66ca4
commit 0c10489a5e
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -24,6 +24,15 @@ SurrealDb__DataDirectory=data
# LLM (F-8, matchmaking) — runtime secret only. # LLM (F-8, matchmaking) — runtime secret only.
# LLM__ApiKey= # LLM__ApiKey=
# LLM provider/cost control (optional; disabled by default -> offline template rationales).
# Llm__Enabled=false
# Llm__Provider=openai
# Llm__BaseUrl=https://api.openai.com/v1
# Llm__Model=gpt-4o-mini
# Llm__MaxTokens=256
# Llm__MaxRequestsPerMinute=30
# Llm__TimeoutSeconds=20
# Observability (optional). # Observability (optional).
# Logging__LogLevel__Default=Information # Logging__LogLevel__Default=Information
# OTEL_EXPORTER_OTLP_ENDPOINT= # OTEL_EXPORTER_OTLP_ENDPOINT=
+9
View File
@@ -11,6 +11,15 @@
"Audience": "tarninahub", "Audience": "tarninahub",
"TokenLifetimeMinutes": 60 "TokenLifetimeMinutes": 60
}, },
"Llm": {
"Enabled": false,
"Provider": "openai",
"BaseUrl": "https://api.openai.com/v1",
"Model": "gpt-4o-mini",
"MaxTokens": 256,
"MaxRequestsPerMinute": 30,
"TimeoutSeconds": 20
},
"SurrealDb": { "SurrealDb": {
"Namespace": "hubmi", "Namespace": "hubmi",
"Database": "hubmi", "Database": "hubmi",