summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 16:43:42 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 16:43:42 +0200
commit207d4e12c33f0ed0bd431d2ef8f531717042953d (patch)
tree1bea196e57855e90c090b5d714c72274d06375d1 /etc
parentrefactor(test): simplify model test cases to core options (diff)
downloadgpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar.gz
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar.bz2
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar.lz
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar.xz
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.tar.zst
gpt4free-207d4e12c33f0ed0bd431d2ef8f531717042953d.zip
Diffstat (limited to '')
-rw-r--r--etc/testing/test_chat_completion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/testing/test_chat_completion.py b/etc/testing/test_chat_completion.py
index 615c8be0..6b053b72 100644
--- a/etc/testing/test_chat_completion.py
+++ b/etc/testing/test_chat_completion.py
@@ -8,7 +8,7 @@ import g4f, asyncio
print("create:", end=" ", flush=True)
for response in g4f.ChatCompletion.create(
model=g4f.models.default,
- provider=g4f.Provider.Bing,
+ #provider=g4f.Provider.Bing,
messages=[{"role": "user", "content": "write a poem about a tree"}],
stream=True
):
@@ -18,7 +18,7 @@ print()
async def run_async():
response = await g4f.ChatCompletion.create_async(
model=g4f.models.default,
- provider=g4f.Provider.Bing,
+ #provider=g4f.Provider.Bing,
messages=[{"role": "user", "content": "hello!"}],
)
print("create_async:", response)