mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix: also fix VectorStoreIndexRegistry.__init__ mutable default
Addresses review feedback — missed sibling class in the same file.
This commit is contained in:
parent
2df755425a
commit
27e465e36b
1 changed files with 2 additions and 2 deletions
|
|
@ -22,11 +22,11 @@ else:
|
|||
|
||||
class VectorStoreIndexRegistry:
|
||||
def __init__(
|
||||
self, vector_store_indexes: List[LiteLLM_ManagedVectorStoreIndex] = []
|
||||
self, vector_store_indexes: Optional[List[LiteLLM_ManagedVectorStoreIndex]] = None
|
||||
):
|
||||
self.vector_store_indexes: List[
|
||||
LiteLLM_ManagedVectorStoreIndex
|
||||
] = vector_store_indexes
|
||||
] = vector_store_indexes or []
|
||||
|
||||
def get_vector_store_indexes(self) -> List[LiteLLM_ManagedVectorStoreIndex]:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue