Files
sjcode/server/config.toml.example
T
2026-09-12 10:14:55 +02:00

28 lines
829 B
TOML

# sjcode daemon configuration
# Copy this file to config.toml and adjust the values.
[server]
# Port the daemon listens on (clients connect to this port).
port = 8420
# Bind address. Keep 127.0.0.1 unless you want LAN access.
host = "127.0.0.1"
[ollama]
# Where the daemon reaches the local ollama API.
base_url = "http://127.0.0.1:11434"
# Default model used when a client does not request a specific one.
model = "llama3.2"
# Context window the daemon requests from ollama. The agent sends long
# transcripts (system prompt + tool results), so do not drop this below 8192.
num_ctx = 16384
[database]
# SQLite file for user accounts. Relative to the project root.
path = "sjcode.db"
[limits]
# How many minutes of AI usage each role gets per day.
# "user" is the default role assigned to new accounts.
user = 120
admin = -1