pub struct HematiteConfig {Show 16 fields
pub mode: PermissionMode,
pub permissions: Option<PermissionRules>,
pub trust: WorkspaceTrustConfig,
pub model: Option<String>,
pub fast_model: Option<String>,
pub think_model: Option<String>,
pub gemma_native_auto: bool,
pub gemma_native_formatting: bool,
pub api_url: Option<String>,
pub voice: Option<String>,
pub voice_speed: Option<f32>,
pub voice_volume: Option<f32>,
pub context_hint: Option<String>,
pub deno_path: Option<String>,
pub verify: VerifyProfilesConfig,
pub hooks: RuntimeHookConfig,
}Fields§
§mode: PermissionModeActive authority mode.
permissions: Option<PermissionRules>Pattern-based permission overrides.
trust: WorkspaceTrustConfigWorkspace trust policy for the current project root.
model: Option<String>Override the primary model ID (e.g. “gemma-4-e4b”).
fast_model: Option<String>Override the fast model ID used for read-only tasks.
think_model: Option<String>Override the think model ID used for complex tasks.
gemma_native_auto: boolWhen true, Gemma 4 models enable native-formatting behavior automatically unless explicitly forced off.
gemma_native_formatting: boolForce Gemma-native request shaping on for Gemma 4 models.
api_url: Option<String>Override the LLM provider base URL (e.g. “http://localhost:11434/v1” for Ollama). Defaults to “http://localhost:1234/v1” (LM Studio). Takes precedence over –url CLI flag.
voice: Option<String>Voice ID for TTS. Use /voice in the TUI to list and select. Defaults to “af_sky”.
voice_speed: Option<f32>TTS speech speed multiplier. 1.0 = normal, 0.8 = slower, 1.3 = faster. Defaults to 1.0.
voice_volume: Option<f32>TTS volume. 0.0 = silent, 1.0 = normal, 2.0 = louder. Defaults to 1.0.
context_hint: Option<String>Extra text appended verbatim to the system prompt (project notes, conventions, etc.).
deno_path: Option<String>Override path to the Deno executable for the run_code sandbox. If unset, Hematite checks LM Studio’s bundled Deno, then system PATH. Example: “C:/Users/you/.deno/bin/deno.exe”
verify: VerifyProfilesConfigPer-project verification commands for build/test/lint/fix workflows.
hooks: RuntimeHookConfigTool Lifecycle Hooks for automated pre/post scripts.
Trait Implementations§
Source§impl Clone for HematiteConfig
impl Clone for HematiteConfig
Source§fn clone(&self) -> HematiteConfig
fn clone(&self) -> HematiteConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HematiteConfig
impl Debug for HematiteConfig
Source§impl Default for HematiteConfig
impl Default for HematiteConfig
Source§fn default() -> HematiteConfig
fn default() -> HematiteConfig
Source§impl<'de> Deserialize<'de> for HematiteConfig
impl<'de> Deserialize<'de> for HematiteConfig
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 HematiteConfig
impl RefUnwindSafe for HematiteConfig
impl Send for HematiteConfig
impl Sync for HematiteConfig
impl Unpin for HematiteConfig
impl UnsafeUnpin for HematiteConfig
impl UnwindSafe for HematiteConfig
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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