mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Update brave.py to use the correct field
fixing issues caused by incorrect field names.
This commit is contained in:
parent
b5f4c85bb1
commit
ac5567f78d
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def search_brave(
|
||||||
|
|
||||||
return [
|
return [
|
||||||
SearchResult(
|
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]
|
for result in results[:count]
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue