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

XFEstudio/gpt4free

remove additional tags in Phind

Phind added new additional tags to their reply and this commit removed them.

1b4327c5
Houtar <75552878+houtarchat-cyber@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -0
Modified g4f/Provider/Phind.py +2 -0
@@ -69,6 +69,8 @@ class Phind(AsyncGeneratorProvider):
69 69 pass
70 70 elif chunk.startswith(b"<PHIND_METADATA>") or chunk.startswith(b"<PHIND_INDICATOR>"):
71 71 pass
72 elif chunk.startswith(b"<PHIND_SPAN_BEGIN>") or chunk.startswith(b"<PHIND_SPAN_END>"):
73 pass
72 74 elif chunk:
73 75 yield chunk.decode()
74 76 elif new_line: