diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-09-25 20:23:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 20:23:47 +0200 |
commit | 5bcc82ce1a59901c0be01d96fb049c7f589e7ec5 (patch) | |
tree | 440509180b2c0acda712e0c34d4d0b30617144a5 /g4f/Provider/Liaobots.py | |
parent | ~ | Merge pull request #936 from r1di/patch-1 (diff) | |
parent | Add Myshell Provider (diff) | |
download | gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.gz gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.bz2 gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.lz gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.xz gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.tar.zst gpt4free-5bcc82ce1a59901c0be01d96fb049c7f589e7ec5.zip |
Diffstat (limited to 'g4f/Provider/Liaobots.py')
-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", |