mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-26 13:05:59 -05:00
Update brave.py to use the correct field
fixing issues caused by incorrect field names.
This commit is contained in:
@@ -36,7 +36,7 @@ def search_brave(
|
||||
|
||||
return [
|
||||
SearchResult(
|
||||
link=result["url"], title=result.get("title"), snippet=result.get("snippet")
|
||||
link=result["url"], title=result.get("title"), snippet=result.get("description")
|
||||
)
|
||||
for result in results[:count]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user