corrected error message
This commit is contained in:
parent
670b2b664e
commit
89cbaf7b61
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue