mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
fix: correct type handling for TAVILY_EXTRACT_DEPTH configuration
This commit is contained in:
@@ -1953,7 +1953,7 @@ TAVILY_API_KEY = PersistentConfig(
|
||||
TAVILY_EXTRACT_DEPTH = PersistentConfig(
|
||||
"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(
|
||||
|
||||
Reference in New Issue
Block a user