返回提交历史
Modified
etc/tool/copilot.py
+1
-1
XFEstudio/gpt4free
Update copilot.py
a9603fb5
代码差异
1 个文件
+1
-1
@@ -68,7 +68,7 @@ def read_json(text: str) -> dict:
68
68
if match:
69
69
text = match.group("code")
70
70
else:
71
text = text.split("\n\n---\n\n")[0]
71
text = text.split("\n---\n")[0]
72
72
try:
73
73
return json.loads(text.strip())
74
74
except json.JSONDecodeError: