Skip to main content

get_model

Function get_model 

Source
pub async fn get_model(store: &TaskStore) -> Result<String>
Expand description

Get the current model from KV, defaulting to the current agent’s configured model when the key is absent. Returns an error if the store read fails.