diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-28 23:57:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 23:57:56 +0100 |
commit | e496f0c179c668146f421d7f75ec21fc33821eae (patch) | |
tree | e2f7fcaf54dd52c9acf14ce43f448dccb4a2a78e /g4f/Provider | |
parent | Merge pull request #1516 from hlohaus/text (diff) | |
parent | remove additional tags in Phind (diff) | |
download | gpt4free-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 '')
-rw-r--r-- | g4f/Provider/Phind.py | 2 |
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: |