pub async fn set_agent_spec(store: &TaskStore, agent: &str) -> Result<ModelSpec>
Set the current agent and its default model in KV.