mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-23 12:21:08 +00:00
fix: Close #2841
This commit is contained in:
parent
6736bc09f3
commit
81b26580d7
@ -204,7 +204,7 @@ class OceanBaseStore(VectorStoreBase):
|
||||
"Please install it with `pip install pyobvector`."
|
||||
)
|
||||
|
||||
if vector_store_config.embedding_fn is None:
|
||||
if embedding_fn is None:
|
||||
raise ValueError("embedding_fn is required for OceanBaseStore")
|
||||
|
||||
super().__init__(
|
||||
|
Loading…
Reference in New Issue
Block a user