返回提交历史
Modified
g4f/Provider/bing/conversation.py
+2
-2
XFEstudio/gpt4free
Fix unittests, update Bing Urls
934edc86
代码差异
1 个文件
+2
-2
@@ -34,9 +34,9 @@ async def create_conversation(session: ClientSession, headers: dict, tone: str)
34
34
Conversation: An instance representing the created conversation.
35
35
"""
36
36
if tone == "Copilot":
37
url = "https://copilot.microsoft.com/turing/conversation/create?bundleVersion=1.1634.3-nodesign2"
37
url = "https://copilot.microsoft.com/turing/conversation/create?bundleVersion=1.1686.0"
38
38
else:
39
url = "https://www.bing.com/turing/conversation/create?bundleVersion=1.1626.1"
39
url = "https://www.bing.com/turing/conversation/create?bundleVersion=1.1686.0"
40
40
async with session.get(url, headers=headers) as response:
41
41
if response.status == 404:
42
42
raise RateLimitError("Response 404: Do less requests and reuse conversations")