Update graphiti_core/driver/kuzu_driver.py

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
This commit is contained in:
Preston Rasmussen 2025-11-05 11:46:55 -05:00 committed by GitHub
parent c6a192a274
commit 14c120341b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,7 +160,7 @@ class KuzuDriver(GraphDriver):
# Only load the `fts` extension if it's not already loaded, otherwise throw an error.
result, _, _ = await self.execute_query('CALL SHOW_LOADED_EXTENSIONS() RETURN *;')
if len(result) == 0:
if not any('fts' in str(ext).lower() for ext in result):
fulltext_indices.insert(
0,
"""