JoBot exposes several AI-related settings that let you balance response quality, creativity, and Anthropic API cost. Some settings are global and controlled by environment variables; others can be overridden per-server by guild admins using slash commands.Documentation Index
Fetch the complete documentation index at: https://docs.jobot.jeppdev.com/llms.txt
Use this file to discover all available pages before exploring further.
Global AI settings
These settings are configured as environment variables in yourdocker-compose.yml or .env file. They apply to all guilds unless a per-guild override is in place.
| Variable | Default | Description |
|---|---|---|
Ai__Model | claude-sonnet-4-6 | The Anthropic model used for all AI responses. Accepts any valid Anthropic model slug. |
Ai__MaxTokens | 4096 | Maximum number of tokens Claude can produce in a single response. |
Ai__Temperature | 0.7 | Default creativity level (0.0 = deterministic, 1.0 = most creative). Can be overridden per guild. |
Ai__MaxToolIterations | 50 | How many tool calls (e.g. memory search, music lookup) Claude can chain in a single message turn. Lower values reduce per-message costs. |
Ai__MaxHistoryMessages | 40 | Hard cap on conversation history messages sent to Claude per request. Can be overridden per guild. |
Per-guild overrides
Guild admins can override temperature, history length, and music volume for their specific server using/settings slash commands — without touching environment variables or restarting the bot.
The overridable settings are:
- AI temperature —
/settings set temperature <value> - Max history messages —
/settings set max-history <number> - Music volume —
/settings set volume <number>
Custom system prompt
The system prompt is the foundational instruction set passed to Claude at the start of every conversation. It controls JoBot’s persona, tone, memory behavior, and any hard rules you want it to follow.Default JoMusic prompt
Out of the box, JoBot ships with the JoMusic persona:Customizing the prompt
Each guild can replace this prompt entirely. Use/settings set prompt to open a modal editor pre-filled with the current prompt. The custom prompt can be up to 4 000 characters.
To restore the default JoMusic prompt, run /settings reset SystemPrompt.
Choosing a Claude model
TheAi__Model environment variable accepts any Anthropic model slug. The default claude-sonnet-4-6 is a balanced choice that offers strong reasoning and tool use at moderate cost.
To change the model, update the variable in your .env file and restart the bot: