LiuAlex1109

Results 2 comments of LiuAlex1109

It calls the apply_prompt_template function when creating an agent. ``` def create_agent(agent_name: str, agent_type: str, tools: list, prompt_template: str): """Factory function to create agents with consistent configuration.""" return create_react_agent( name=agent_name,...

tavily_search_api_wrapper.py文件中可以设置ssl为False ``` async with aiohttp.ClientSession(trust_env=True) as session: async with session.post(f"{TAVILY_API_URL}/search", json=params, ssl=False) as res: if res.status == 200: data = await res.text() return data else: raise Exception(f"Error {res.status}: {res.reason}") ```