Skip to content

Commit f593f92

Browse files
authored
FIX: serper.dev API - Change snippet key from 'description' to 'snippet' (open-webui#22869)
This has apparently been broken since forever and native tool calling made it a lot more apparent.
1 parent af0b7d4 commit f593f92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/retrieval/web/serper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def search_serper(api_key: str, query: str, count: int, filter_list: Optional[li
3131
SearchResult(
3232
link=result['link'],
3333
title=result.get('title'),
34-
snippet=result.get('description'),
34+
snippet=result.get('snippet'),
3535
)
3636
for result in results[:count]
3737
]

0 commit comments

Comments
 (0)