pub fn parse_persisted_session_agent_model(
agent_value: Option<&str>,
model_value: &str,
) -> AgentSelectionExpand description
Parses one persisted session agent/model pair without deriving the agent from the model when the saved agent kind is available.
Existing databases did not persist agent, so rows with a missing or
invalid agent value fall back to a compatibility provider inferred from
the persisted model string. Raw gemini-* rows belong to Antigravity,
the only provider serving those models.