Skip to main content

parse_pool_entry

Function parse_pool_entry 

Source
pub fn parse_pool_entry(entry: &str) -> (String, String)
Expand description

Parse an agent:model pool entry string, splitting on the first colon.

Examples:

  • "claude:haiku" → ("claude", "haiku")
  • "opencode:github-copilot/gpt-5-mini" → ("opencode", "github-copilot/gpt-5-mini")
  • "claude" → ("claude", "")