summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-01-28 23:57:56 +0100
committerGitHub <noreply@github.com>2024-01-28 23:57:56 +0100
commite496f0c179c668146f421d7f75ec21fc33821eae (patch)
treee2f7fcaf54dd52c9acf14ce43f448dccb4a2a78e /g4f
parentMerge pull request #1516 from hlohaus/text (diff)
parentremove additional tags in Phind (diff)
downloadgpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar.gz
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar.bz2
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar.lz
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar.xz
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.tar.zst
gpt4free-e496f0c179c668146f421d7f75ec21fc33821eae.zip
Diffstat (limited to 'g4f')
-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: