diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-09-02 03:03:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 03:03:10 +0200 |
commit | 9de43a0e95aa0a4cb41caaec11573e74aad117c9 (patch) | |
tree | 5dcde56297e9dc0d2645412a7a660553445d45aa /testing/test_needs_auth.py | |
parent | ~ (diff) | |
parent | Update readme (diff) | |
download | gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar.gz gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar.bz2 gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar.lz gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar.xz gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.tar.zst gpt4free-9de43a0e95aa0a4cb41caaec11573e74aad117c9.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="") |