Skip to main content

detect

Function detect 

Source
pub async fn detect(c: &Client) -> Detected
Expand description

Probe in an order where no runtime matches another’s check: llama.cpp /props, SGLang /get_model_info, LM Studio /api/v0/models, Ollama /api/version, TabbyAPI /v1/model, vLLM /version; then owned_by in /v1/models.