Skip to main content

render_config

Function render_config 

Source
pub fn render_config(choice: &LadderChoice) -> String
Expand description

Render a complete, runnable firstpass.toml for these answers — including the [[provider]] and [[gate]] blocks the choice requires. Emitting a fragment would be worse than emitting nothing: only anthropic/openai are built-in providers and only non-empty/json-valid are built-in gates, so anything else must be declared here or the file will not resolve.