Merge pull request #1250 from kacperkwapisz/patch-1

stream check workaround & fix
This commit is contained in:
H Lohaus 2023-11-16 09:31:50 +01:00 committed by GitHub
commit 2e46f1c074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Api:
item_data['messages'] = ast.literal_eval(item_data.get('messages'))
model = item_data.get('model')
stream = item_data.get('stream')
stream = True if item_data.get("stream") == "True" else False
messages = item_data.get('messages')
try: