diff --git a/adapter/baidu/yiyan.py b/adapter/baidu/yiyan.py index cc653217..76c5885e 100644 --- a/adapter/baidu/yiyan.py +++ b/adapter/baidu/yiyan.py @@ -96,7 +96,7 @@ async def ask(self, prompt) -> Generator[str, None, None]: await self.new_conversation(prompt) req = await self.client.post( - url="https://yiyan.baidu.com/eb/chat/query", + url="https://yiyan.baidu.com/eb/chat/check", json={ "text": prompt, "timestamp": get_ts(),