refac
This commit is contained in:
1 parent
b6b16d5871
commit
810378c0b8
93 files changed
+440
-12
No files matched your search
@@ -41,6 +41,9 @@ def search_yandex(
|
||||
) -> List[SearchResult]:
|
||||
try:
|
||||
headers = {
|
||||
# LICENSE covers this Open WebUI user-agent identifier.
|
||||
# Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
# https://docs.openwebui.com/license.
|
||||
'User-Agent': 'Open WebUI (https://github.com/open-webui/open-webui) RAG Bot',
|
||||
'Authorization': f'Api-Key {yandex_search_api_key}',
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user