返回提交历史
Modified
phind/__init__.py
+1
-1
XFEstudio/gpt4free
corrected error message
89cbaf7b
代码差异
1 个文件
+1
-1
@@ -54,7 +54,7 @@ class PhindResponse:
54
54
class Search:
55
55
def create(prompt: str, actualSearch: bool = True, language: str = 'en') -> dict: # None = no search
56
56
if user_agent == '' or cf_clearance == '':
57
raise ValueError('user_agent must be set, refer to documentation')
57
raise ValueError('user_agent and cf_clearance must be set, refer to documentation')
58
58
59
59
if not actualSearch:
60
60
return {