Skip to main content

format_context

Function format_context 

Source
pub fn format_context(entries: &[ModuleContextEntry]) -> String
Expand description

Format module context entries into prompt-ready Markdown: the module list with descriptions, env vars and method signatures, followed by the built-in functions reference. Lines are kept under 120 chars where practical.