Files
ForgeLM/crates/api-contracts/src/health.rs
T

10 lines
206 B
Rust

use serde::Serialize;
#[derive(Debug, Clone, Serialize)]
pub struct HealthResponse {
pub status: &'static str,
pub model_loaded: bool,
pub model_id: Option<String>,
pub uptime_secs: u64,
}