mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
refac: styling
This commit is contained in:
@@ -320,6 +320,7 @@ def rag_messages(
|
||||
extracted_collections.extend(collection)
|
||||
|
||||
context_string = ""
|
||||
|
||||
citations = []
|
||||
for context in relevant_contexts:
|
||||
try:
|
||||
@@ -335,6 +336,7 @@ def rag_messages(
|
||||
)
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
|
||||
context_string = context_string.strip()
|
||||
|
||||
ra_content = rag_template(
|
||||
|
||||
Reference in New Issue
Block a user