Upload free_ask_internet.py
Browse files- free_ask_internet.py +1 -1
free_ask_internet.py
CHANGED
@@ -226,7 +226,7 @@ def summary_gpt(message, model:str, debug=False):
|
|
226 |
try:
|
227 |
response_json = response.json()
|
228 |
except json.JSONDecodeError:
|
229 |
-
return
|
230 |
|
231 |
# 检查响应中是否有 choices 字段,并且至少有一个元素
|
232 |
if 'choices' in response_json and response_json['choices']:
|
|
|
226 |
try:
|
227 |
response_json = response.json()
|
228 |
except json.JSONDecodeError:
|
229 |
+
return msgs
|
230 |
|
231 |
# 检查响应中是否有 choices 字段,并且至少有一个元素
|
232 |
if 'choices' in response_json and response_json['choices']:
|