enh: enable configuration for tavily extract depth

This commit is contained in:
Luke committed 2025-03-08 00:43:02 -05:00
1 parent dc3abc2bcb
commit 7917128ed3
3 files changed
+10

No files matched your search

+6
View File
@@ -1950,6 +1950,12 @@ TAVILY_API_KEY = PersistentConfig(
os.getenv("TAVILY_API_KEY", ""),
)
TAVILY_EXTRACT_DEPTH = PersistentConfig(
"TAVILY_EXTRACT_DEPTH",
"rag.web.search.tavily_extract_depth",
int(os.getenv("TAVILY_EXTRACT_DEPTH", "basic")),
)
JINA_API_KEY = PersistentConfig(
"JINA_API_KEY",
"rag.web.search.jina_api_key",