mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-15 02:16:08 +00:00
working fe
This commit is contained in:
1 parent
8380858a82
commit
20c877f75b
2 files changed
+50
-55
No files matched your search
@@ -149,6 +149,7 @@ def stream():
|
||||
#question = data["question"]
|
||||
# get parameter from url question
|
||||
question = request.args.get('question')
|
||||
history = request.args.get('history')
|
||||
#question = "Hi"
|
||||
return Response(complete_stream(question), mimetype='text/event-stream')
|
||||
|
||||
|
||||
Reference in new issue
Block a user