diff options
| author | main <main@swarm.moe> | 2026-03-19 22:28:01 -0400 |
|---|---|---|
| committer | main <main@swarm.moe> | 2026-03-19 22:28:01 -0400 |
| commit | f706910944ee8abe7b27a248596f7705059969d9 (patch) | |
| tree | 6a071e88b59146e10117f562fd28496bb821fc65 /crates/fidget-spinner-cli/src/mcp/host/runtime.rs | |
| parent | 352fb5f089e74bf47b60c6221594b9c22defe251 (diff) | |
| download | fidget_spinner-f706910944ee8abe7b27a248596f7705059969d9.zip | |
Polish MCP ingest and schema surfaces
Diffstat (limited to 'crates/fidget-spinner-cli/src/mcp/host/runtime.rs')
| -rw-r--r-- | crates/fidget-spinner-cli/src/mcp/host/runtime.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crates/fidget-spinner-cli/src/mcp/host/runtime.rs b/crates/fidget-spinner-cli/src/mcp/host/runtime.rs index f84f604..d57a21e 100644 --- a/crates/fidget-spinner-cli/src/mcp/host/runtime.rs +++ b/crates/fidget-spinner-cli/src/mcp/host/runtime.rs @@ -838,20 +838,6 @@ fn system_health_output(health: &HealthSnapshot) -> Result<ToolOutput, FaultReco "rollout_pending".to_owned(), json!(health.binary.rollout_pending), ); - if let Some(fault) = health.last_fault.as_ref() { - let _ = concise.insert( - "last_fault".to_owned(), - json!({ - "kind": format!("{:?}", fault.kind).to_ascii_lowercase(), - "stage": format!("{:?}", fault.stage).to_ascii_lowercase(), - "operation": fault.operation, - "message": fault.message, - "retryable": fault.retryable, - "retried": fault.retried, - }), - ); - } - let mut lines = vec![format!( "{} | {}", if health.initialization.ready && health.initialization.seed_captured { @@ -886,14 +872,6 @@ fn system_health_output(health: &HealthSnapshot) -> Result<ToolOutput, FaultReco "" } )); - if let Some(fault) = health.last_fault.as_ref() { - lines.push(format!( - "fault: {} {} {}", - format!("{:?}", fault.kind).to_ascii_lowercase(), - fault.operation, - fault.message, - )); - } detailed_tool_output( &Value::Object(concise), health, |