Skip to content

Commit

Permalink
fix(yiyan): wrong check api url
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed Apr 20, 2023
1 parent f92cda3 commit 354d380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/baidu/yiyan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 354d380

Please sign in to comment.