summaryrefslogtreecommitdiffstats
path: root/testing/test_needs_auth.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-09-02 03:03:10 +0200
committerGitHub <noreply@github.com>2023-09-02 03:03:10 +0200
commit9de43a0e95aa0a4cb41caaec11573e74aad117c9 (patch)
tree5dcde56297e9dc0d2645412a7a660553445d45aa /testing/test_needs_auth.py
parent~ (diff)
parentUpdate readme (diff)
downloadgpt4free-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 'testing/test_needs_auth.py')
-rw-r--r--testing/test_needs_auth.py6
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="")