pub async fn retrieve_model(
client: &OpenAIClient,
model_id: &str,
) -> Result<ModelInfo, OpenAIError>Expand description
Retrieves the details for a specific model by its model_id.
Corresponds to GET /v1/models/{model_id}.
ยงErrors
Returns an OpenAIError if the network request fails, the response
cannot be parsed, or the model does not exist.