corrected error message
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user