Skip to main content

default_knowledge_base

Function default_knowledge_base 

Source
pub fn default_knowledge_base() -> &'static KnowledgeBase
Expand description

Returns a reference to the embedded default knowledge base.

The base is parsed once from config/commands.toml (embedded at compile time) and cached for the process lifetime. Panics if the embedded TOML is malformed — this is a compile-time invariant enforced by tests.