fix testing

This commit is contained in:
Krrish Dholakia 2023-09-12 22:03:48 -07:00
parent c7ade5c2da
commit 041817124f
2 changed files with 2 additions and 2 deletions

View file

@ -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]

View file

@ -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"