diff options
author | Heiner Lohaus <heiner@lohaus.eu> | 2023-09-25 15:52:19 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner@lohaus.eu> | 2023-09-25 15:52:19 +0200 |
commit | f1b6880f7e996481650cdd4ec1e5173804ddc083 (patch) | |
tree | f5bab5bec2232e8b4ebc71213332e5614a940550 /g4f/Provider/Liaobots.py | |
parent | ~ (diff) | |
download | gpt4free-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.py | 2 |
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", |