mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(lowest_latency.py): allow ttl to be a float
This commit is contained in:
parent
f43da3597d
commit
f5d73547c7
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class LiteLLMBase(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
class RoutingArgs(LiteLLMBase):
|
class RoutingArgs(LiteLLMBase):
|
||||||
ttl: int = 1 * 60 * 60 # 1 hour
|
ttl: float = 1 * 60 * 60 # 1 hour
|
||||||
lowest_latency_buffer: float = 0
|
lowest_latency_buffer: float = 0
|
||||||
max_latency_list_size: int = 10
|
max_latency_list_size: int = 10
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue