Spaces:
Sleeping
Sleeping
| # 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= |