Skip to main content

default_strategy

Function default_strategy 

Source
pub fn default_strategy(agent: &str) -> WrapStrategy
Expand description

Built-in agent → strategy lookup. The list is small by design — we only encode strategies for agents we’ve actually verified. Anything not in the table falls through to --system <msg> because that’s the most common contract across OpenAI-compatible CLIs.

PR-7 may extend this map; the matrix is intentionally tabular so adding a row is a one-line change.