This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
test/unit_test/manual_test Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,9 @@ if __name__ == "__main__":
238238
239239<details open >
240240
241+ > * Q: Exception: Throttled: Request is throttled.
242+ > * A: Bing's chat rate limit.
243+ > * ![ rate_limit.png] ( images/rate_limit.png )
241244> * Q: RuntimeError: This event loop is already running
242245> * A: If you are using Jupyter, pls use nest_asyncio.apply()
243246> * Like: https://github.com/Integration-Automation/ReEdgeGPT/issues/30
@@ -259,7 +262,3 @@ if __name__ == "__main__":
259262> * A: Bing block your connect, Try to use proxy or clear cookie.
260263
261264</details >
262-
263- ---
264- > Origin repo (archived): https://github.com/acheong08/EdgeGPT
265- ---
Original file line number Diff line number Diff line change 1313async def test_ask () -> None :
1414 bot = None
1515 try :
16- cookies = json .loads (open (
16+ cookies : list [ dict ] = json .loads (open (
1717 str (Path (str (Path .cwd ()) + "/bing_cookies.json" )), encoding = "utf-8" ).read ())
1818 bot = await Chatbot .create (cookies = cookies )
1919 response = await bot .ask (
You can’t perform that action at this time.
0 commit comments