diff options
author | Heiner Lohaus <heiner.lohaus@netformic.com> | 2023-09-01 23:39:57 +0200 |
---|---|---|
committer | Heiner Lohaus <heiner.lohaus@netformic.com> | 2023-09-01 23:39:57 +0200 |
commit | 3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471 (patch) | |
tree | cc45ace1412c64677eba834ba60d73b03973d195 /testing | |
parent | ~ (diff) | |
download | gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar.gz gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar.bz2 gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar.lz gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar.xz gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.tar.zst gpt4free-3e6b1d6bef04881d8f46ab06331b5e3c5e2e3471.zip |
Diffstat (limited to '')
-rw-r--r-- | testing/test_needs_auth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/test_needs_auth.py b/testing/test_needs_auth.py index eddb040a..3cef1c61 100644 --- a/testing/test_needs_auth.py +++ b/testing/test_needs_auth.py @@ -36,14 +36,14 @@ Bing: Hello! How can I help you today? 3.28 secs No Stream Total: 10.14 secs """ -print("Yqcloud:", end="") +print("Bing: ", end="") for response in log_time_yield( g4f.ChatCompletion.create, model=g4f.models.gpt_35_turbo, messages=[{"role": "user", "content": _instruct}], - provider=g4f.Provider.Yqcloud, + provider=g4f.Provider.Bing, #cookies=g4f.get_cookies(".huggingface.co"), - stream=True, + #stream=True, auth=True ): print(response, end="") |