config¶
The settings surface: every CAFLEET_* environment variable resolves to a
field on the Settings model defined here. Read this page to see defaults
and aliases when embedding or contributing. Like every API page, it is for
contributors changing cafleet and embedders driving it from Python; CLI
users find the command surface in CLI options.
config ¶
Project-wide settings sourced from the CAFLEET_* environment block.
The :class:Settings singleton (settings) is imported by the broker,
CLI, server, and multiplexer modules. Every field reads from a single
explicit CAFLEET_* env var via validation_alias — no implicit
prefix-based binding — and falls back to a hard-coded default suitable for
local single-user use.
Settings ¶
Bases: BaseSettings
Runtime configuration for the CAFleet broker, CLI, and server.
Every attribute is read from an explicit CAFLEET_* environment
variable and defaults to a value suitable for local single-user use.
Modify via the env block; do NOT mutate the settings singleton at
runtime.
Attributes:
| Name | Type | Description |
|---|---|---|
database_url |
str
|
SQLAlchemy URL for the SQLite registry. Sourced from
|
broker_host |
str
|
Bind host for |
broker_port |
int
|
Bind port for |
max_text_len |
int
|
Codepoint truncation limit applied when rendering
message bodies (CLI echo and broker inline-preview keystroke).
Sourced from |