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

XFEstudio/gpt4free

Update Bing.py

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

代码差异

1 个文件 +1 -1
Modified g4f/Provider/Bing.py +1 -1
@@ -468,7 +468,7 @@ async def stream_generate(
468 468 continue
469 469 try:
470 470 response = json.loads(obj)
471 except json.JSONDecodeError:
471 except ValueError:
472 472 continue
473 473 if response and response.get('type') == 1 and response['arguments'][0].get('messages'):
474 474 message = response['arguments'][0]['messages'][0]