Generated Config Defaults
This file is generated by scripts/generate_docs_artifacts.mjs. Do not edit manually.
| Key | Type | Default Source | Default Value |
|---|---|---|---|
llm_provider | String | default_llm_provider | "anthropic".into() |
api_key | String | default_api_key | String::new() |
model | String | default_model | String::new() |
llm_base_url | Option<String> | serde(default) | null |
max_tokens | u32 | default_max_tokens | 8192 |
max_tool_iterations | usize | default_max_tool_iterations | 100 |
compaction_timeout_secs | u64 | default_compaction_timeout_secs | 180 |
max_history_messages | usize | default_max_history_messages | 50 |
max_document_size_mb | u64 | default_max_document_size_mb | 100 |
memory_token_budget | usize | default_memory_token_budget | 1500 |
max_session_messages | usize | default_max_session_messages | 40 |
compact_keep_recent | usize | default_compact_keep_recent | 20 |
default_tool_timeout_secs | u64 | default_tool_timeout_secs | 30 |
default_mcp_request_timeout_secs | u64 | default_mcp_request_timeout_secs | 120 |
show_thinking | bool | serde(default) | false |
data_dir | String | default_data_dir | default_data_root().to_string_lossy().to_string() |
skills_dir | Option<String> | serde(default) | null |
working_dir | String | default_working_dir | (unknown function default) |
working_dir_isolation | WorkingDirIsolation | default_working_dir_isolation | WorkingDirIsolation::Chat |
high_risk_tool_user_confirmation_required | bool | default_high_risk_tool_user_confirmation_required | true |
sandbox | SandboxConfig | serde(default) | (serde default) |
timezone | String | default_timezone | "UTC".into() |
control_chat_ids | Vec<i64> | default_control_chat_ids | Vec::new() |
discord_bot_token | Option<String> | serde(default) | null |
discord_allowed_channels | Vec<u64> | serde(default) | [] |
discord_no_mention | bool | serde(default) | false |
allow_group_slash_without_mention | bool | default_allow_group_slash_without_mention | false |
web_enabled | bool | default_web_enabled | true |
web_host | String | default_web_host | "127.0.0.1".into() |
web_port | u16 | default_web_port | 10961 |
web_max_inflight_per_session | usize | default_web_max_inflight_per_session | 2 |
web_max_requests_per_window | usize | default_web_max_requests_per_window | 8 |
web_rate_window_seconds | u64 | default_web_rate_window_seconds | 10 |
web_run_history_limit | usize | default_web_run_history_limit | 512 |
web_session_idle_ttl_seconds | u64 | default_web_session_idle_ttl_seconds | 300 |
web_fetch_validation | WebContentValidationConfig | serde(default) | (serde default) |
web_fetch_url_validation | WebFetchUrlValidationConfig | serde(default) | (serde default) |
embedding_provider | Option<String> | serde(default) | null |
embedding_api_key | Option<String> | serde(default) | null |
embedding_base_url | Option<String> | serde(default) | null |
embedding_model | Option<String> | serde(default) | null |
embedding_dim | Option<usize> | serde(default) | null |
openai_api_key | Option<String> | serde(default) | null |
model_prices | Vec<ModelPrice> | default_model_prices | Vec::new() |
reflector_enabled | bool | default_reflector_enabled | true |
reflector_interval_mins | u64 | default_reflector_interval_mins | 15 |
soul_path | Option<String> | default_soul_path | None |
souls_dir | Option<String> | default_souls_dir | None |
clawhub | ClawHubConfig | none | (required/no serde default) |
plugins | PluginsConfig | serde(default) | (serde default) |
voice_provider | String | none | (required/no serde default) |
voice_transcription_command | Option<String> | none | (required/no serde default) |
telegram_bot_token | String | default_telegram_bot_token | String::new() |
bot_username | String | default_bot_username | String::new() |
allowed_groups | Vec<i64> | serde(default) | [] |