pub struct LlmSection {
pub provider: Option<String>,
pub model: Option<String>,
pub ollama_url: Option<String>,
pub anthropic_url: Option<String>,
pub max_turns: Option<u32>,
pub ollama_think: Option<bool>,
}Expand description
[llm] section.
Fields§
§provider: Option<String>LLM provider. One of: "anthropic", "ollama", "openai",
"gemini", "groq", "deepseek", "mistral", "xai".
Maps to SYSKNIFE_LLM_PROVIDER.
model: Option<String>Model identifier. Maps to SYSKNIFE_LLM_MODEL.
ollama_url: Option<String>Ollama base URL. Maps to SYSKNIFE_OLLAMA_URL.
anthropic_url: Option<String>Anthropic base URL. Maps to SYSKNIFE_ANTHROPIC_URL.
max_turns: Option<u32>Planning loop turn limit. Maps to SYSKNIFE_BRAIN_MAX_TURNS.
ollama_think: Option<bool>Override Ollama thinking-mode auto-detection. None means
sysknife-brain decides based on the model name. Maps to
SYSKNIFE_OLLAMA_THINK ("true" or "false").
Trait Implementations§
Source§impl Debug for LlmSection
impl Debug for LlmSection
Source§impl<'de> Deserialize<'de> for LlmSection
impl<'de> Deserialize<'de> for LlmSection
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LlmSection
impl RefUnwindSafe for LlmSection
impl Send for LlmSection
impl Sync for LlmSection
impl Unpin for LlmSection
impl UnsafeUnpin for LlmSection
impl UnwindSafe for LlmSection
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
Mutably borrows from an owned value. Read more