litellm_tracer
litellm_match_model(model_name)
Match according provider and model from a litellm model_name.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model_name |
str
|
Name of the model as used in litellm. |
required |
Returns:
Type | Description |
---|---|
Optional[tuple[str, str]]
|
A tuple (provider, model_name) matching a record of the ModelRepository. |