Skip to main content

pick_model

Function pick_model 

Source
pub fn pick_model(
    agent: Agent,
    configured: Option<&str>,
    available: &[String],
) -> Option<String>
Expand description

The model alias an agent should ask for: the configured one, else the first alias that looks made for that agent, else none (the agent’s own default, which the project must then allow).