summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-11 14:54:53 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-11 14:54:53 +0200
commitfc9cb1f561e3f887dbc03f5c39069501f4f4f52c (patch)
treea77b489b7fdcd7087a74848a441d1156b4d4728c
parentrefactor(g4f/Provider/ReplicateHome.py): optimize model organization and improve readability (diff)
downloadgpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar.gz
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar.bz2
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar.lz
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar.xz
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.tar.zst
gpt4free-fc9cb1f561e3f887dbc03f5c39069501f4f4f52c.zip
-rw-r--r--g4f/Provider/bing/conversation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/g4f/Provider/bing/conversation.py b/g4f/Provider/bing/conversation.py
index a4195fa4..b5c237f9 100644
--- a/g4f/Provider/bing/conversation.py
+++ b/g4f/Provider/bing/conversation.py
@@ -33,9 +33,9 @@ async def create_conversation(session: StreamSession, headers: dict, tone: str)
Conversation: An instance representing the created conversation.
"""
if tone == "Copilot":
- url = "https://copilot.microsoft.com/turing/conversation/create?bundleVersion=1.1690.0"
+ url = "https://copilot.microsoft.com/turing/conversation/create?bundleVersion=1.1809.0"
else:
- url = "https://www.bing.com/turing/conversation/create?bundleVersion=1.1690.0"
+ url = "https://www.bing.com/turing/conversation/create?bundleVersion=1.1809.0"
async with session.get(url, headers=headers) as response:
if response.status == 404:
raise RateLimitError("Response 404: Do less requests and reuse conversations")
@@ -90,4 +90,4 @@ async def delete_conversation(session: StreamSession, conversation: Conversation
response = await response.json()
return response["result"]["value"] == "Success"
except:
- return False \ No newline at end of file
+ return False