pub struct Config {Show 16 fields
pub backend: BackendType,
pub endpoint: String,
pub model_name: String,
pub soul_path: String,
pub api_key: Option<String>,
pub verify_mode: VerifyMode,
pub timeout_secs: u64,
pub dump_prompt: bool,
pub dump_raw: bool,
pub memory_path: Option<String>,
pub audit_path: Option<String>,
pub serve_key: Option<String>,
pub serve_rate_limit: u32,
pub serve_max_body_bytes: usize,
pub session_log_path: Option<String>,
pub context_path: Option<String>,
}Fields§
§backend: BackendType§endpoint: String§model_name: String§soul_path: String§api_key: Option<String>§verify_mode: VerifyMode§timeout_secs: u64§dump_prompt: boolPrint system prompt + payload to stderr before the model call.
dump_raw: boolPrint raw model output to stderr before extraction.
memory_path: Option<String>Path to the capability memory JSON file for forge persistence. None = in-memory only (no cross-session reputation).
audit_path: Option<String>Path to the append-only forge audit log (JSONL). None = no audit logging.
serve_key: Option<String>If set, sbh serve requires Authorization: Bearer <serve_key>.
The serve key is NOT forwarded as the upstream API key.
serve_rate_limit: u32Max requests per minute per IP for sbh serve. Default 60.
serve_max_body_bytes: usizeMax request body size in bytes for sbh serve. Default 1 MiB.
session_log_path: Option<String>Path to the append-only session escalation log (JSONL).
Written on every slow-boil escalation event detected by sbh serve.
None = events are not persisted.
context_path: Option<String>Path to operator-supplied context docs (TOML file or directory of TOML files). Merged with the embedded default corpus and injected into the system prompt. None = embedded default corpus only.