Skip to content

Commit 756f468

Browse files
fix: lightrag settings (#649) #none
* Update lightrag_pipelines.py * Update nano_pipelines.py * fix: lightrag setting prompts --------- Co-authored-by: RoadToNowhereX <[email protected]>
1 parent 276bf56 commit 756f468

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libs/ktem/ktem/index/file/graph/lightrag_pipelines.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ def get_user_settings(cls) -> dict:
259259
if all(
260260
keyword not in prompt_name.lower() for keyword in blacklist_keywords
261261
)
262+
and isinstance(content, str)
262263
}
263264
except ImportError as e:
264265
print(e)

libs/ktem/ktem/index/file/graph/nano_pipelines.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def get_user_settings(cls) -> dict:
255255
if all(
256256
keyword not in prompt_name.lower() for keyword in blacklist_keywords
257257
)
258+
and isinstance(content, str)
258259
}
259260
except ImportError as e:
260261
print(e)

0 commit comments

Comments
 (0)