add trust env to clientsession

This commit is contained in:
Bela Vizi
2025-07-02 17:59:56 +02:00
parent b5f4c85bb1
commit 9623ef4360
4 changed files with 4 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ async def load_tool_from_url(
)
try:
async with aiohttp.ClientSession() as session:
async with aiohttp.ClientSession(trust_env=True) as session:
async with session.get(
url, headers={"Content-Type": "application/json"}
) as resp: