From 207d4e12c33f0ed0bd431d2ef8f531717042953d Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Fri, 6 Sep 2024 17:43:42 +0300 Subject: refactor(test): simplify model test cases to core options --- etc/testing/test_chat_completion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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) -- cgit v1.2.3