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 | |
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')
-rw-r--r-- | testing/test_chat_completion.py | 2 | ||||
-rw-r--r-- | testing/test_interference.py | 2 |
2 files changed, 2 insertions, 2 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, diff --git a/testing/test_interference.py b/testing/test_interference.py index 31717ea7..d8e85a6c 100644 --- a/testing/test_interference.py +++ b/testing/test_interference.py @@ -24,4 +24,4 @@ def main(): if __name__ == "__main__": - main() + main()
\ No newline at end of file |