mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix(types): allow numeric hidden response cost
Allow standard logging hidden params to carry numeric response_cost values, matching LiteLLM's calculated cost payloads. Made-with: Cursor
This commit is contained in:
parent
7306fb1f87
commit
a3e26ddc5e
1 changed files with 1 additions and 1 deletions
|
|
@ -2651,7 +2651,7 @@ class StandardLoggingHiddenParams(TypedDict):
|
|||
] # id of the model in the router, separates multiple models with the same name but different credentials
|
||||
cache_key: Optional[str]
|
||||
api_base: Optional[str]
|
||||
response_cost: Optional[str]
|
||||
response_cost: Optional[Union[str, float]]
|
||||
litellm_overhead_time_ms: Optional[float]
|
||||
additional_headers: Optional[StandardLoggingAdditionalHeaders]
|
||||
batch_models: Optional[List[str]]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue