Function endpoint_filter

Source
pub fn endpoint_filter(model: &Model, endpoint: &Endpoint) -> bool
Expand description

Check if selected model is available to certain API endpoint

ยงArguments

  • model - A provided model enum variant
  • endpoint - API endpoint name, e.g. /v1/completions