allow async_only_mode on rotuer

This commit is contained in:
Ishaan Jaff 2024-07-06 12:50:57 -07:00
parent 2452753e08
commit 80a31c5dab

View file

@ -517,3 +517,9 @@ class CustomRoutingStrategyBase:
"""
pass
class RouterGeneralSettings(BaseModel):
async_only_mode: bool = Field(
default=False
) # this will only initialize async clients. Good for memory utils