workspace_dir = "/construct-data/workspace"
config_path = "/construct-data/.construct/config.toml"
# API key: set via .env or environment variable at runtime
api_key = "http://host.docker.internal:11434"
default_provider = "ollama"
default_model = "llama3.2"
default_temperature = 0.7

[gateway]
port = 42617
host = "[::]"
allow_public_bind = true
require_pairing = false

[agent]
max_tool_iterations = 50
max_tool_result_chars = 50000
max_context_tokens = 32000

[agent.context_compression]
enabled = true
tool_result_retrim_chars = 2000

[memory]
backend = "sqlite"
auto_save = true
hygiene_enabled = true
archive_after_days = 7
purge_after_days = 30

[autonomy]
level = "supervised"
auto_approve = ["file_read", "file_write", "file_edit", "web_search_tool", "web_fetch", "calculator", "glob_search", "content_search", "image_info", "git_operations"]
