(
provider_name: &str,
model_id: &str,
base_url: &str,
details: &str,
next_steps: &str,
)
| 758 | } |
| 759 | |
| 760 | fn validation_failure( |
| 761 | provider_name: &str, |
| 762 | model_id: &str, |
| 763 | base_url: &str, |
| 764 | details: &str, |
| 765 | next_steps: &str, |
| 766 | ) -> Status { |
| 767 | Status::failed_precondition(format!( |
| 768 | "failed to verify inference endpoint for provider '{provider_name}' and model '{model_id}' at '{base_url}': {details}. Next steps: {next_steps}, or retry with '--no-verify' if you want to skip verification" |
| 769 | )) |
| 770 | } |
| 771 | |
| 772 | fn validation_next_steps(kind: ValidationFailureKind) -> &'static str { |
| 773 | match kind { |
no outgoing calls
no test coverage detected