diff options
author | Johannes <johannesr@viken.no> | 2023-04-26 08:07:23 +0200 |
---|---|---|
committer | Johannes <johannesr@viken.no> | 2023-04-26 08:07:23 +0200 |
commit | 89cbaf7b616f5520442d67fc0816d94cdcfcfa4c (patch) | |
tree | 5155e8be0422f1c37289d6ecdaeb8f0d49ab2a1c /phind | |
parent | fixes #143 missing cf_clearance raises error (diff) | |
download | gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar.gz gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar.bz2 gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar.lz gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar.xz gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.tar.zst gpt4free-89cbaf7b616f5520442d67fc0816d94cdcfcfa4c.zip |
Diffstat (limited to '')
-rw-r--r-- | phind/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phind/__init__.py b/phind/__init__.py index b4e518bc..bd54d82a 100644 --- a/phind/__init__.py +++ b/phind/__init__.py @@ -54,7 +54,7 @@ class PhindResponse: class Search: def create(prompt: str, actualSearch: bool = True, language: str = 'en') -> dict: # None = no search if user_agent == '' or cf_clearance == '': - raise ValueError('user_agent must be set, refer to documentation') + raise ValueError('user_agent and cf_clearance must be set, refer to documentation') if not actualSearch: return { |