Skip to content

Commit

Permalink
Increase api_call tool timeout to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Oct 15, 2024
1 parent 24c2bd5 commit 7ff06bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/activities/excecute_api_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def execute_api_call(
request_args: RequestArgs,
) -> Any:
try:
async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=60.0) as client:
arg_url = request_args.pop("url", None)
arg_headers = request_args.pop("headers", None)

Expand Down

0 comments on commit 7ff06bd

Please sign in to comment.