refac
This commit is contained in:
1 parent
c400f40663
commit
493745a70b
2 files changed
+3
-2
No files matched your search
@@ -347,7 +347,7 @@ def get_rag_context(
|
||||
|
||||
try:
|
||||
context = None
|
||||
if file["type"] == "text":
|
||||
if file.get("type") == "text":
|
||||
context = file["content"]
|
||||
else:
|
||||
if hybrid_search:
|
||||
|
||||
Reference in new issue
Block a user