mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac
This commit is contained in:
@@ -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