Merge branch 'main' into feature/api-key-create

This commit is contained in:
Alex authored and GitHub committed 2024-04-05 13:01:42 +01:00
commit 87585be687
10 files changed
+629 -244

No files matched your search

+3 -1
View File
@@ -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