forked from phoenix/litellm-mirror
fix(litellm_pre_call_utils.py): add support for key level caching params
This commit is contained in:
parent
c5a611ca91
commit
af1ae80277
4 changed files with 42 additions and 2 deletions
|
@ -7,6 +7,9 @@ class LiteLLMCommonStrings(Enum):
|
|||
redacted_by_litellm = "redacted by litellm. 'litellm.turn_off_message_logging=True'"
|
||||
|
||||
|
||||
SupportedCacheControls = ["ttl", "s-maxage", "no-cache", "no-store"]
|
||||
|
||||
|
||||
class CostPerToken(TypedDict):
|
||||
input_cost_per_token: float
|
||||
output_cost_per_token: float
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue