mirror of
https://github.com/zhayujie/bot-on-anything.git
synced 2026-01-19 09:41:07 +08:00
[bug fixed]caused by EdgeGPT 0.1.10 update
This commit is contained in:
@@ -127,9 +127,10 @@ class SydneyHub(ChatHub):
|
||||
async def ask_stream(
|
||||
self,
|
||||
prompt: str,
|
||||
wss_link: str = "wss://sydney.bing.com/sydney/ChatHub",
|
||||
conversation_style: EdgeGPT.CONVERSATION_STYLE_TYPE = None,
|
||||
) -> Generator[str, None, None]:
|
||||
async for item in super().ask_stream(prompt=prompt, conversation_style=conversation_style):
|
||||
async for item in super().ask_stream(prompt=prompt, conversation_style=conversation_style, wss_link=wss_link):
|
||||
yield item
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user