Skip to main content

discover_copilot_models

Function discover_copilot_models 

Source
pub async fn discover_copilot_models() -> Option<Vec<String>>
Expand description

Discover available Copilot models by running gh copilot models.

Returns None if gh is not found, the command fails, or the output cannot be parsed into a non-empty model list.