mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
Merge pull request #1522 from houtarchat-cyber/patch-1
remove additional tags in Phind
This commit is contained in:
commit
e496f0c179
@ -69,6 +69,8 @@ class Phind(AsyncGeneratorProvider):
|
|||||||
pass
|
pass
|
||||||
elif chunk.startswith(b"<PHIND_METADATA>") or chunk.startswith(b"<PHIND_INDICATOR>"):
|
elif chunk.startswith(b"<PHIND_METADATA>") or chunk.startswith(b"<PHIND_INDICATOR>"):
|
||||||
pass
|
pass
|
||||||
|
elif chunk.startswith(b"<PHIND_SPAN_BEGIN>") or chunk.startswith(b"<PHIND_SPAN_END>"):
|
||||||
|
pass
|
||||||
elif chunk:
|
elif chunk:
|
||||||
yield chunk.decode()
|
yield chunk.decode()
|
||||||
elif new_line:
|
elif new_line:
|
||||||
|
Loading…
Reference in New Issue
Block a user