summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Liaobots.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/Liaobots.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 '')
-rw-r--r--g4f/Provider/Liaobots.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/g4f/Provider/Liaobots.py b/g4f/Provider/Liaobots.py
index 33224d2e..ea3e0d45 100644
--- a/g4f/Provider/Liaobots.py
+++ b/g4f/Provider/Liaobots.py
@@ -46,8 +46,6 @@ class Liaobots(AsyncGeneratorProvider):
**kwargs
) -> AsyncGenerator:
model = model if model in models else "gpt-3.5-turbo"
- if proxy and "://" not in proxy:
- proxy = f"http://{proxy}"
headers = {
"authority": "liaobots.com",
"content-type": "application/json",