forked from phoenix/litellm-mirror
fix testing
This commit is contained in:
parent
c7ade5c2da
commit
041817124f
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class BudgetManager:
|
|||
else:
|
||||
self.user_dict = response["data"]
|
||||
|
||||
def create_budget(self, total_budget: float, user: str, duration: Literal["daily", "weekly", "monthly", "yearly"] = None, created_at: float = time.time()):
|
||||
def create_budget(self, total_budget: float, user: str, duration: Optional[Literal["daily", "weekly", "monthly", "yearly"]] = None, created_at: float = time.time()):
|
||||
self.user_dict[user] = {"total_budget": total_budget}
|
||||
if duration is None:
|
||||
return self.user_dict[user]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "litellm"
|
||||
version = "0.1.608"
|
||||
version = "0.1.609"
|
||||
description = "Library to easily interface with LLM API providers"
|
||||
authors = ["BerriAI"]
|
||||
license = "MIT License"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue