|
1 | | -# Example .envrc file for direnv |
2 | | -# Copy this file to .envrc and fill in your actual values. |
| 1 | +############################################################ |
| 2 | +# Example .envrc file for direnv # |
| 3 | +# Copy this file to .envrc and fill in your actual values. # |
| 4 | +############################################################ |
3 | 5 |
|
4 | 6 | # Load the virtual environment |
5 | 7 | source .venv/bin/activate |
6 | 8 |
|
7 | | -# Python-specific variables |
8 | | -export PYTHONUNBUFFERED="1" |
9 | | -export PYTHONPATH="${PWD}/src:${PYTHONPATH}" |
| 9 | +############################ |
| 10 | +# BALATROLLM CONFIGURATION # |
| 11 | +############################ |
10 | 12 |
|
11 | | -# Disable git lfs |
12 | | -export GIT_LFS_SKIP_SMUDGE=1 |
13 | | - |
14 | | -# BALATROLLM CONFIGURATION |
15 | | -# Configure the CLI using environment variables |
16 | | -# All values are optional and have sensible defaults |
| 13 | +# API base URL (REQUIRED) |
| 14 | +export BALATROLLM_BASE_URL="..." |
| 15 | +# Many providers support OpenAI-compatible base URL. For example: |
| 16 | +# - OpenAI: https://api.openai.com/v1 |
| 17 | +# - OpenRouter:https://openrouter.ai/api/v1 |
| 18 | +# - Cerebras: https://api.cerebras.ai/v1 |
| 19 | +# - LMStudio: http://127.0.0.1:123klm |
| 20 | +# - Groq: https://api.groq.com/openai/v1 |
| 21 | +# Just check the provider's documentation for the correct URL. |
17 | 22 |
|
18 | 23 | # API key for LLM provider (required for most providers) |
19 | | -# Get your API key from: https://openrouter.ai/keys |
20 | | -export BALATROLLM_API_KEY="your-api-key" |
21 | | - |
22 | | -# Model to use (default: openai/gpt-oss-20b) |
23 | | -export BALATROLLM_MODEL="openai/gpt-oss-20b" |
| 24 | +export BALATROLLM_API_KEY="..." |
24 | 25 |
|
25 | | -# API base URL (default: https://openrouter.ai/api/v1) |
26 | | -export BALATROLLM_BASE_URL="https://openrouter.ai/api/v1" |
| 26 | +# Model to use (REQUIRED) |
| 27 | +export BALATROLLM_MODEL="..." |
27 | 28 |
|
28 | 29 | # Strategy to use (default: default) |
29 | | -export BALATROLLM_STRATEGY="default" |
| 30 | +# export BALATROLLM_STRATEGY="default" |
| 31 | + |
| 32 | +# Comma-separated list of seeds (default: random seed) |
| 33 | +# export BALATROLLM_SEEDS="" |
30 | 34 |
|
31 | 35 | # Number of runs per seed (default: 1) |
32 | | -export BALATROLLM_RUNS_PER_SEED="1" |
| 36 | +# export BALATROLLM_RUNS_PER_SEED="1" |
33 | 37 |
|
34 | | -# Comma-separated list of seeds (default: random seed) |
35 | | -export BALATROLLM_SEEDS="" |
| 38 | +# Comma-separated list of ports for BalatroBot client connections (default: 12346) |
| 39 | +# export BALATROLLM_PORTS="12346" |
36 | 40 |
|
37 | 41 | # Disable screenshots (0=take screenshots, 1=no screenshots, default: 0) |
38 | | -export BALATROLLM_NO_SCREENSHOT="0" |
| 42 | +# export BALATROLLM_NO_SCREENSHOT="0" |
39 | 43 |
|
40 | 44 | # Use BalatroBot's default storage paths (0=custom paths, 1=default paths, default: 0) |
41 | | -export BALATROLLM_USE_DEFAULT_PATHS="0" |
| 45 | +# export BALATROLLM_USE_DEFAULT_PATHS="0" |
0 commit comments