Skip to main content

find_model

Function find_model 

Source
pub fn find_model(model_str: &str, use_stakpak: bool) -> Option<Model>
Expand description

Find a model by ID string

Parses the model string and searches the model cache:

  • Format “provider/model_id” searches within that specific provider
  • Plain “model_id” searches all providers

When use_stakpak is true, the model is transformed for Stakpak API routing.