summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Copilot.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-18 18:23:16 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-11-18 18:23:16 +0100
commit2fe43166cc4ab4d05261c3fe9690a49284c90570 (patch)
tree447a5232ae89c2775608c237330f3aa0ecc379a7 /g4f/Provider/Copilot.py
parentAdd account support in Copilot provider (diff)
downloadgpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar.gz
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar.bz2
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar.lz
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar.xz
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.tar.zst
gpt4free-2fe43166cc4ab4d05261c3fe9690a49284c90570.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/Copilot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/Provider/Copilot.py b/g4f/Provider/Copilot.py
index 0d8b612b..f10202bf 100644
--- a/g4f/Provider/Copilot.py
+++ b/g4f/Provider/Copilot.py
@@ -64,6 +64,7 @@ class Copilot(AbstractProvider):
websocket_url = cls.websocket_url
access_token = None
+ headers = None
cookies = conversation.cookie_jar if conversation is not None else None
if cls.needs_auth:
if conversation is None or conversation.access_token is None: