mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Merge branch 'xtekky:main' into test
This commit is contained in:
commit
04303131c8
@ -78,7 +78,7 @@ class Api:
|
|||||||
item_data['messages'] = ast.literal_eval(item_data.get('messages'))
|
item_data['messages'] = ast.literal_eval(item_data.get('messages'))
|
||||||
|
|
||||||
model = item_data.get('model')
|
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')
|
messages = item_data.get('messages')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user