From d9b066f039c6495423f609740880d4a3f1deb7f7 Mon Sep 17 00:00:00 2001 From: Bagus Indrayana Date: Thu, 17 Aug 2023 21:46:50 +0800 Subject: provider to Provider in testing --- testing/test_chat_completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/test_chat_completion.py b/testing/test_chat_completion.py index d408d9ec..d091d47b 100644 --- a/testing/test_chat_completion.py +++ b/testing/test_chat_completion.py @@ -8,7 +8,7 @@ import g4f stream = False response = g4f.ChatCompletion.create( model="gpt-3.5-turbo", - provider=g4f.provider.Ails, + provider=g4f.Provider.Ails, messages=[{"role": "user", "content": "hello"}], stream=stream, active_server=5, -- cgit v1.2.3