mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
added feature #887
This commit is contained in:
@@ -207,7 +207,9 @@ def stream():
|
||||
prompt_id = data["prompt_id"]
|
||||
else:
|
||||
prompt_id = 'default'
|
||||
if 'chunks' in data:
|
||||
if 'selectedDocs' in data and data['selectedDocs'] is None:
|
||||
chunks = 0
|
||||
elif 'chunks' in data:
|
||||
chunks = int(data["chunks"])
|
||||
else:
|
||||
chunks = 2
|
||||
|
||||
Reference in New Issue
Block a user