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 spec from KV, defaulting to "sonnet" when the key is absent. Returns an error if the store read fails.