Update llm.py

This commit is contained in:
SpudGunMan
2024-09-03 23:09:45 -07:00
parent 098c344047
commit 297930c4d1
+1
View File
@@ -82,6 +82,7 @@ def llm_query(input, nodeID=0, location_name=None):
if llmContext_fromGoogle:
# grab some context from the internet using google search hits (if available)
# localization details at https://pypi.org/project/googlesearch-python/
try:
googleSearch = search(input, advanced=True, num_results=5)
if googleSearch: