diff options
author | Bagus Indrayana <bagusindrayanaindo@gmail.com> | 2023-08-24 12:23:55 +0200 |
---|---|---|
committer | Bagus Indrayana <bagusindrayanaindo@gmail.com> | 2023-08-24 12:23:55 +0200 |
commit | c9d2f060906ceffe13cccbf9cf049fa614dc3707 (patch) | |
tree | 7c18afd174d8ca192a5b3042e0a381f01c0dba08 /testing/test_chat_completion.py | |
parent | add provider (diff) | |
parent | ~ | Merge pull request #829 (diff) | |
download | gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar.gz gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar.bz2 gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar.lz gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar.xz gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.tar.zst gpt4free-c9d2f060906ceffe13cccbf9cf049fa614dc3707.zip |
Diffstat (limited to 'testing/test_chat_completion.py')
-rw-r--r-- | testing/test_chat_completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |