Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
c794d59f
Commit
c794d59f
authored
Jun 12, 2024
by
Timothy J. Baek
Browse files
revert: do not change the default
parent
1fefafb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/apps/rag/search/searxng.py
backend/apps/rag/search/searxng.py
+1
-1
No files found.
backend/apps/rag/search/searxng.py
View file @
c794d59f
...
...
@@ -37,7 +37,7 @@ def search_searxng(
"""
# Default values for optional parameters are provided as empty strings or None when not specified.
language
=
kwargs
.
get
(
"language"
,
"
auto
"
)
language
=
kwargs
.
get
(
"language"
,
"
en-US
"
)
safesearch
=
kwargs
.
get
(
"safesearch"
,
"1"
)
time_range
=
kwargs
.
get
(
"time_range"
,
""
)
categories
=
""
.
join
(
kwargs
.
get
(
"categories"
,
[]))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment