Spaces:
Sleeping
Sleeping
File size: 1,016 Bytes
4c2a557 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # OpenWebUI Configuration
OPENWEBUI_DOMAIN=your_openwebui_domain # OpenWebUI domain, e.g. https://chat.example.com
OPENWEBUI_API_KEY=your_api_key # OpenWebUI API key for fetching model list
# Access Control
ACCESS_TOKEN=your-access-token-here # Used for Monitor page login
API_KEY=your-api-key-here # Used for authentication when sending requests to Monitor
# Price Configuration (Optional, $/million tokens)
# DEFAULT_MODEL_INPUT_PRICE=60 # Default input price for models
# DEFAULT_MODEL_OUTPUT_PRICE=60 # Default output price for models
# DEFAULT_MODEL_PER_MSG_PRICE=-1 # Default price per message for models, -1 means charging by tokens
# INIT_BALANCE=0 # Initial balance for users, optional
# COST_ON_INLET=0 # Pre-deduction amount on inlet, can be a fixed number (e.g. 0.1) or model-specific (e.g. gpt-4:0.32,gpt-3.5:0.01)
# PostgreSQL Database Configuration (Optional, configure these if using external database)
# POSTGRES_HOST=
# POSTGRES_PORT=
# POSTGRES_USER=
# POSTGRES_PASSWORD=
# POSTGRES_DATABASE= |