-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration en
ZoyLuo edited this page Jun 5, 2026
·
1 revision
On first run the mod writes aibot.json to the Fabric config dir (usually run/config/aibot.json in dev). Every field has a sane default; missing fields are filled in.
🔑 Prefer the
DEEPSEEK_API_KEYenvironment variable — it takes priority overapiKeyin the file.
| Field | Description |
|---|---|
apiKey |
API key (empty → read DEEPSEEK_API_KEY) |
baseUrl |
Endpoint, default https://api.deepseek.com (any OpenAI-compatible URL) |
model |
Model name, default deepseek-chat
|
maxTokens |
Max reply tokens, default 2048
|
temperature |
Sampling temperature, default 0.3
|
timeoutSeconds |
Request timeout |
retryCount / retryBackoffMs
|
Retry count / backoff |
| Field | Description |
|---|---|
maxHistoryMessages |
Conversation history kept |
maxToolCallsPerTurn |
Max parallel tool calls per turn |
maxTurnsPerRequest |
Max tool-call rounds per request (prevents token blow-up) |
exposeLowLevelTools |
Expose low-level tools (move_block / place_block…) |
enableMemoryTools |
Enable memory tools |
enableCoordinationTools |
Enable multi-bot coordination tools |
| Field | Description |
|---|---|
radius |
Horizontal perception radius |
maxBlocks / maxEntities / maxItems
|
Caps on blocks / entities / drops fed to the LLM |
includeRawLists |
Include raw lists |
| Field | Description |
|---|---|
maxPlanDepth |
Max back-chaining depth |
replanOnFailure |
Auto re-plan on step failure |
autoToolFill |
Auto-craft missing tools (e.g. pickaxe before mining) |
| Field | Description |
|---|---|
returnWhenFreeSlots |
Return home when free slots drop below this |
toolDurabilityFloor |
Stop / swap tool below this durability ratio |
placeTorches |
Auto-place torches while mining |
| Field | Description |
|---|---|
retreatHp |
Retreat below this HP |
maxEnemiesToFight |
Flee above this enemy count |
| Field | Description |
|---|---|
hungerEatThreshold |
Eat below this hunger |
hungerCriticalThreshold |
Critical hunger threshold |
| Field | Description |
|---|---|
autoSleep |
Auto-sleep at night |
torchLightThreshold |
Place torches below this light level |
| Field | Description |
|---|---|
jumpReach |
Jump look-ahead distance |
sidleAfter / sidleLimit
|
Side-step delay / limit when stuck |
hardLimit |
Hard-stuck threshold |
lookahead / nodeRetry
|
Path look-ahead / node retry |
sprintMinDist |
Min distance to sprint |
| Field | Description |
|---|---|
forceRadiusH / forceRadiusV
|
Forced-pickup horizontal / vertical radius |
sweepRadius |
Sweep-pickup radius |
| Field | Description |
|---|---|
stuckWindowTicks |
Stuck-detection window (no pos/progress/inventory change = stuck) |
| Field | Description |
|---|---|
enabled |
Structured logging on/off |
directory |
Log directory |
perBotFile |
One file per bot |
rotation / maxFileSizeMb / maxBackups
|
Rotation / size cap / backups |
Restart (or reload) the server after editing. Actual default values are whatever your local
aibot.jsonshows.
AIBot · GitHub · MIT License · LLM plans · Tasks execute · Bob survives
新手上路
理解原理
参与开发
- Home
- Getting Started
- Commands
- Configuration
- Client Panel
- Architecture
- Goal Engine
- Task System
- Brain & Tools
- Safety Net
- Developer Guide
- FAQ
主仓库 · MIT