Skip to main content

parse_prefer

Function parse_prefer 

Source
pub fn parse_prefer(prefer: &str) -> &str
Expand description

Extract the worker name from a prefer string like harness:claude-code, api:gpt-5.5, or a bare claude-code. The family prefix is a hint; the name is what resolution matches on.