forked from phoenix/litellm-mirror
feat(proxy_server.py): expose new /model_group/info
endpoint
returns model-group level info on supported params, max tokens, pricing, etc.
This commit is contained in:
parent
bec13d465a
commit
22b6b99b34
6 changed files with 191 additions and 16 deletions
|
@ -12,3 +12,13 @@ class ProviderField(TypedDict):
|
|||
field_type: Literal["string"]
|
||||
field_description: str
|
||||
field_value: str
|
||||
|
||||
|
||||
class ModelInfo(TypedDict):
|
||||
max_tokens: int
|
||||
max_input_tokens: int
|
||||
max_output_tokens: int
|
||||
input_cost_per_token: float
|
||||
output_cost_per_token: float
|
||||
litellm_provider: str
|
||||
mode: str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue