summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/OpenAssistant.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-09-25 15:52:19 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-09-25 15:52:19 +0200
commitf1b6880f7e996481650cdd4ec1e5173804ddc083 (patch)
treef5bab5bec2232e8b4ebc71213332e5614a940550 /g4f/Provider/OpenAssistant.py
parent~ (diff)
downloadgpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.gz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.bz2
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.lz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.xz
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.tar.zst
gpt4free-f1b6880f7e996481650cdd4ec1e5173804ddc083.zip
Diffstat (limited to 'g4f/Provider/OpenAssistant.py')
-rw-r--r--g4f/Provider/OpenAssistant.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/g4f/Provider/OpenAssistant.py b/g4f/Provider/OpenAssistant.py
index 3a931597..1e9a0661 100644
--- a/g4f/Provider/OpenAssistant.py
+++ b/g4f/Provider/OpenAssistant.py
@@ -23,8 +23,6 @@ class OpenAssistant(AsyncGeneratorProvider):
cookies: dict = None,
**kwargs: Any
) -> AsyncGenerator:
- if proxy and "://" not in proxy:
- proxy = f"http://{proxy}"
if not cookies:
cookies = get_cookies("open-assistant.io")