XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update copilot.py

a9603fb5
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified etc/tool/copilot.py +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: