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
eead6906
Commit
eead6906
authored
Jun 12, 2024
by
Timothy J. Baek
Browse files
fix: type casting
parent
edae1ca4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
backend/config.py
backend/config.py
+5
-3
No files found.
backend/config.py
View file @
eead6906
...
...
@@ -680,9 +680,11 @@ Question:
SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD
=
PersistentConfig
(
"SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD"
,
"task.search.prompt_length_threshold"
,
int
(
os
.
environ
.
get
(
"SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD"
,
100
,
)
),
)
...
...
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