struct ForgeToml {Show 21 fields
orgs: Vec<OrgEntry>,
accounts: Vec<AccountEntry>,
models: HashMap<String, ModelSettings>,
handoff: HandoffSettings,
dictate: DictateSettings,
tts: TtsSettings,
huggingface: HuggingfaceSettings,
gotify: Option<GotifyConfig>,
systemone: Option<SystemOneSection>,
vault: Option<VaultSection>,
slack: Vec<SlackConfig>,
plugins: PluginSettings,
gateway: Option<GatewaySettings>,
server: ServerConfig,
client: ClientConfig,
browser: BrowserSettings,
terminal: TerminalSettings,
documents: DocumentsSettings,
usage: UsageSettings,
sessions: SessionsSection,
env: HashMap<String, String>,
}Expand description
The whole forge.toml. Unknown keys are rejected so a mistyped
section name fails the load instead of being ignored.
Fields§
§orgs: Vec<OrgEntry>§accounts: Vec<AccountEntry>§models: HashMap<String, ModelSettings>Optional [models."<name>"] tables - parameters a model name
carries to every spawn. Absent means no model parameters are
stamped and the CLI’s own resolution stands.
handoff: HandoffSettingsOptional [handoff] section - when forge replaces a session with a
fresh one that continues from a brief. Absent means the defaults,
which is on at 85% with a compaction backstop of 1.
dictate: DictateSettingsOptional [dictate] section - local dictation. Absent section
-> disabled, which is what keeps a 3 GB model download opt-in.
tts: TtsSettingsOptional [tts] section - speech out. Absent section -> disabled,
which keeps the model install opt-in.
huggingface: HuggingfaceSettingsOptional [huggingface] section - the token a gated Hub repository
needs. Absent section leaves every Hub read untokened.
gotify: Option<GotifyConfig>Optional [gotify] section - the inbound-notification server
connection. Absent section → None → the Gotify subsystem
stays dormant.
systemone: Option<SystemOneSection>Optional [systemone] section - the decision-model endpoint the
session tools ask. Absent or enabled = false → None → the
tools are never injected.
vault: Option<VaultSection>Optional [vault] section - the Vaultwarden account the vault
family talks to. Absent -> the family is not injected.
slack: Vec<SlackConfig>Optional [[slack]] sections - one entry per workspace. Absent or
empty → the connector stays dormant.
plugins: PluginSettingsOptional [plugins] section - opt-in plugin auto-update.
Absent section → all defaults, which leaves auto-update off.
gateway: Option<GatewaySettings>Optional [gateway] section - the inference listener’s port.
server: ServerConfigOptional [server] section - the socket’s listener. Absent
section means its defaults, which is on and on loopback.
client: ClientConfigOptional [client] section - the sets a client draws with. Absent
section means every name unset, which is the built-in.
browser: BrowserSettingsOptional [browser] section - how the server’s browser hosts encode
and when an idle profile closes. Absent section keeps the defaults.
terminal: TerminalSettingsOptional [terminal] section - the shell a seat’s terminal runs, how
much scrollback it keeps, and when an idle one closes. Absent section
keeps the defaults.
documents: DocumentsSettingsOptional [documents] section - the ceiling on one handed
document. Absent section keeps the 10 MiB default.
usage: UsageSettingsOptional [usage] section - the background poller’s refresh
interval. Absent section keeps the 60 s default.
sessions: SessionsSectionOptional [sessions] section - whether a dead durable seat comes
back. Absent section keeps the defaults, which heal it.
env: HashMap<String, String>Optional top-level [env] table - the BASE every session
starts from, overridden per key by [accounts.env] and then by
the project’s env. Merged into LoadedAccount.env at
load; the project layer is applied at spawn. Absent -> empty.
Trait Implementations§
Source§impl Debug for ForgeToml
Hand-written so the global env’s values stay out of it; the sections it
holds redact themselves.
impl Debug for ForgeToml
Hand-written so the global env’s values stay out of it; the sections it holds redact themselves.
Source§impl<'de> Deserialize<'de> for ForgeToml
impl<'de> Deserialize<'de> for ForgeToml
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ForgeToml
impl RefUnwindSafe for ForgeToml
impl Send for ForgeToml
impl Sync for ForgeToml
impl Unpin for ForgeToml
impl UnsafeUnpin for ForgeToml
impl UnwindSafe for ForgeToml
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more