Spaces:
Sleeping
Sleeping
Feliciano Long
commited on
Fix lite assistant not working bug (#884)
Browse files
modules/models/ChuanhuAgent.py
CHANGED
@@ -96,7 +96,7 @@ class ChuanhuAgent_Client(BaseLLMModel):
|
|
96 |
def google_search_simple(self, query):
|
97 |
results = []
|
98 |
with DDGS() as ddgs:
|
99 |
-
ddgs_gen = ddgs.text(
|
100 |
for r in islice(ddgs_gen, 10):
|
101 |
results.append({
|
102 |
"title": r["title"],
|
|
|
96 |
def google_search_simple(self, query):
|
97 |
results = []
|
98 |
with DDGS() as ddgs:
|
99 |
+
ddgs_gen = ddgs.text(query, backend="lite")
|
100 |
for r in islice(ddgs_gen, 10):
|
101 |
results.append({
|
102 |
"title": r["title"],
|