MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / format_inference_status

Function format_inference_status

crates/openshell-cli/src/run.rs:5960–5968  ·  view source on GitHub ↗
(status: Status)

Source from the content-addressed store, hash-verified

5958}
5959
5960fn format_inference_status(status: Status) -> miette::Report {
5961 let message = status.message().trim();
5962
5963 if message.is_empty() {
5964 return miette::miette!("inference configuration failed ({})", status.code());
5965 }
5966
5967 miette::miette!("{message}")
5968}
5969
5970pub fn git_repo_root(local_path: &Path) -> Result<PathBuf> {
5971 let git_dir = if local_path.is_dir() {

Callers

nothing calls this directly

Calls 2

messageMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected