mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 13:25:20 +00:00
fix: correct type handling for TAVILY_EXTRACT_DEPTH configuration
This commit is contained in:
parent
7917128ed3
commit
7c4a9c2aea
1 changed files with 1 additions and 1 deletions
|
|
@ -1953,7 +1953,7 @@ TAVILY_API_KEY = PersistentConfig(
|
||||||
TAVILY_EXTRACT_DEPTH = PersistentConfig(
|
TAVILY_EXTRACT_DEPTH = PersistentConfig(
|
||||||
"TAVILY_EXTRACT_DEPTH",
|
"TAVILY_EXTRACT_DEPTH",
|
||||||
"rag.web.search.tavily_extract_depth",
|
"rag.web.search.tavily_extract_depth",
|
||||||
int(os.getenv("TAVILY_EXTRACT_DEPTH", "basic")),
|
os.getenv("TAVILY_EXTRACT_DEPTH", "basic"),
|
||||||
)
|
)
|
||||||
|
|
||||||
JINA_API_KEY = PersistentConfig(
|
JINA_API_KEY = PersistentConfig(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue