1
0
Fork 0

corrected error message

This commit is contained in:
Johannes 2023-04-26 08:07:23 +02:00
parent 670b2b664e
commit 89cbaf7b61

View file

@ -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 {