mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
feat(web): support TAVILY_BASE_URL env var for custom proxy endpoints
Make Tavily client respect a TAVILY_BASE_URL environment variable, defaulting to https://api.tavily.com for backward compatibility. Consistent with FIRECRAWL_API_URL pattern already used in this module.
This commit is contained in:
parent
ea83cd91e4
commit
3445530dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ def _get_async_parallel_client():
|
|||
|
||||
# ─── Tavily Client ───────────────────────────────────────────────────────────
|
||||
|
||||
_TAVILY_BASE_URL = "https://api.tavily.com"
|
||||
_TAVILY_BASE_URL = os.getenv("TAVILY_BASE_URL", "https://api.tavily.com")
|
||||
|
||||
|
||||
def _tavily_request(endpoint: str, payload: dict) -> dict:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue