mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
feat: rag docs as payload field
This commit is contained in:
@@ -123,8 +123,6 @@ class RAGMiddleware(BaseHTTPMiddleware):
|
||||
data["messages"][last_user_message_idx] = new_user_message
|
||||
del data["docs"]
|
||||
|
||||
print("DATAAAAAAAAAAAAAAAAAA")
|
||||
print(data)
|
||||
modified_body_bytes = json.dumps(data).encode("utf-8")
|
||||
|
||||
# Create a new request with the modified body
|
||||
|
||||
Reference in New Issue
Block a user