summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoutar <75552878+houtarchat-cyber@users.noreply.github.com>2024-01-28 14:11:10 +0100
committerGitHub <noreply@github.com>2024-01-28 14:11:10 +0100
commit1b4327c51a13df9db7bec47c033048d0852b1f2c (patch)
treee2f7fcaf54dd52c9acf14ce43f448dccb4a2a78e
parentMerge pull request #1516 from hlohaus/text (diff)
downloadgpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar.gz
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar.bz2
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar.lz
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar.xz
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.tar.zst
gpt4free-1b4327c51a13df9db7bec47c033048d0852b1f2c.zip
-rw-r--r--g4f/Provider/Phind.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/g4f/Provider/Phind.py b/g4f/Provider/Phind.py
index dbf1e7ae..e7156842 100644
--- a/g4f/Provider/Phind.py
+++ b/g4f/Provider/Phind.py
@@ -69,6 +69,8 @@ class Phind(AsyncGeneratorProvider):
pass
elif chunk.startswith(b"<PHIND_METADATA>") or chunk.startswith(b"<PHIND_INDICATOR>"):
pass
+ elif chunk.startswith(b"<PHIND_SPAN_BEGIN>") or chunk.startswith(b"<PHIND_SPAN_END>"):
+ pass
elif chunk:
yield chunk.decode()
elif new_line: