Update webscout.py
Browse files- webscout.py +1 -1
webscout.py
CHANGED
@@ -226,7 +226,7 @@ class WEBS:
|
|
226 |
resp_content = self._get_url("POST", "https://duckduckgo.com", data={"q": keywords})
|
227 |
return _extract_vqd(resp_content, keywords)
|
228 |
|
229 |
-
def chat(self, chat_messages: List[Dict[str, str]] = []
|
230 |
"""Initiates a chat session with DuckDuckGo AI.
|
231 |
|
232 |
Args:
|
|
|
226 |
resp_content = self._get_url("POST", "https://duckduckgo.com", data={"q": keywords})
|
227 |
return _extract_vqd(resp_content, keywords)
|
228 |
|
229 |
+
def chat(self, chat_messages: List[Dict[str, str]] = [], model: str = "gpt-3.5", timeout: int = 20) -> str:
|
230 |
"""Initiates a chat session with DuckDuckGo AI.
|
231 |
|
232 |
Args:
|