diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-18 18:23:16 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-11-18 18:23:16 +0100 |
commit | 2fe43166cc4ab4d05261c3fe9690a49284c90570 (patch) | |
tree | 447a5232ae89c2775608c237330f3aa0ecc379a7 /g4f/Provider/Copilot.py | |
parent | Add account support in Copilot provider (diff) | |
download | gpt4free-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 'g4f/Provider/Copilot.py')
-rw-r--r-- | g4f/Provider/Copilot.py | 1 |
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: |