more commits

This commit is contained in:
anigasan 2025-07-06 18:44:27 -07:00
parent f916007788
commit f997a11ac1
34 changed files with 4140 additions and 2 deletions

View file

@ -32,6 +32,6 @@ class TavilySearchToolConfig(BaseModel):
return {
"api_key": "${env.TAVILY_SEARCH_API_KEY:=}",
"max_results": 3,
"timeout:" 30.0,
"timeout": 30.0,
"connect_timeout": 10.0,
}

View file

@ -70,7 +70,7 @@ class TavilySearchToolRuntimeImpl(ToolGroupsProtocolPrivate, ToolRuntime, NeedsR
async def invoke_tool(self, tool_name: str, kwargs: dict[str, Any]) -> ToolInvocationResult:
api_key = self._get_api_key()
timeout = https.Timeout(timeout=self.config.timeout, connect=self.config.connect_timeout)
httpx.Timeout(timeout=self.config.timeout, connect=self.config.connect_timeout)
async with httpx.AsyncClient() as client:
response = await client.post(