Merge branch 'xtekky:main' into test

This commit is contained in:
JunXiang 2023-11-16 17:15:43 +08:00 committed by GitHub
commit 04303131c8
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: