Skip to content

Commit 76f0e37

Browse files
committed
feat(config): remove legacy config and add example config
1 parent 16b3cdb commit 76f0e37

2 files changed

Lines changed: 85 additions & 40 deletions

File tree

config/example.yaml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
################################################################################
2+
# Example configuration file for balatrollm
3+
# Usage: balatrollm config/example.yaml
4+
################################################################################
5+
6+
################################################################################
7+
# EXECUTION
8+
################################################################################
9+
10+
# Number of concurrent Balatro instances to run. Forms a worker pool:
11+
# when a worker finishes a run, it picks up the next task from the queue.
12+
parallel: 1
13+
14+
################################################################################
15+
# GAME PARAMETERS
16+
# Each parameter accepts a list. The cartesian product of all lists generates
17+
# the task queue (e.g., 2 seeds × 2 decks = 4 runs).
18+
################################################################################
19+
20+
# Game seed(s) - 7-character strings.
21+
# Repeat the same seed to run multiple attempts with identical starting conditions.
22+
seed:
23+
- AAAAAAA
24+
# - BBBBBBB
25+
# - AAAAAAA # duplicate for multiple runs of same seed
26+
27+
# Deck code(s). Valid values:
28+
# RED, BLUE, YELLOW, GREEN, BLACK, MAGIC, NEBULA, GHOST,
29+
# ABANDONED, CHECKERED, ZODIAC, PAINTED, ANAGLYPH, PLASMA, ERRATIC
30+
deck:
31+
- RED
32+
33+
# Stake (difficulty) code(s). Valid values (easiest to hardest):
34+
# WHITE (1), RED (2), GREEN (3), BLACK (4),
35+
# BLUE (5), PURPLE (6), ORANGE (7), GOLD (8)
36+
stake:
37+
- WHITE
38+
39+
################################################################################
40+
# STRATEGY
41+
################################################################################
42+
43+
# Strategy name(s) from `src/balatrollm/strategies/`.
44+
# Each strategy folder contains prompt templates and tool definitions.
45+
# You can create custom strategies by adding new folders there.
46+
strategy:
47+
- default
48+
49+
################################################################################
50+
# MODEL
51+
################################################################################
52+
53+
# LLM model identifier(s). Format depends on your provider:
54+
# - OpenAI: "gpt-4o", "gpt-4o-mini"
55+
# - OpenRouter: "openai/gpt-4o", "anthropic/claude-3.5-sonnet"
56+
# Requires BALATROLLM_BASE_URL and BALATROLLM_API_KEY env vars.
57+
model:
58+
- openai/gpt-4o
59+
60+
# Optional OpenAI client parameters passed to chat completions.
61+
# Common options: seed, temperature, max_tokens, parallel_tool_calls
62+
# The `extra_body` field passes provider-specific parameters (e.g., OpenRouter).
63+
model_config:
64+
extra_body:
65+
reasoning:
66+
effort: medium
67+
provider:
68+
sort: throughput
69+
70+
################################################################################
71+
# CONNECTION (optional - usually set via environment variables)
72+
################################################################################
73+
74+
# BalatroBot JSON-RPC server host (default: 127.0.0.1)
75+
# host: 127.0.0.1
76+
77+
# BalatroBot starting port (default: 12346)
78+
# For parallel > 1, each worker uses port, port+1, port+2, etc.
79+
# port: 12346
80+
81+
# LLM API base URL (prefer env var BALATROLLM_BASE_URL)
82+
# base_url: https://openrouter.ai/api/v1
83+
84+
# LLM API key (prefer env var BALATROLLM_API_KEY)
85+
# api_key: sk-...

config/models.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)