Enable async_mode on PGVector for async method support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@ def _get_vector_store() -> PGVector:
|
|||||||
connection=_pgvector_url,
|
connection=_pgvector_url,
|
||||||
use_jsonb=True,
|
use_jsonb=True,
|
||||||
create_extension=False, # created by docker init script
|
create_extension=False, # created by docker init script
|
||||||
|
async_mode=True,
|
||||||
)
|
)
|
||||||
return _vector_store
|
return _vector_store
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user