pub fn check_ai_command_prerequisites(
model_override: Option<&str>,
) -> Result<AiCredentialInfo>Expand description
Performs combined preflight check for AI commands.
Validates:
- Git repository access
- AI credentials
Returns information about the AI provider that will be used.