From b57535059b4a4bd50ffd86ba33f1373d495cec59 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 15 Aug 2025 02:24:09 +0000 Subject: [PATCH 1/2] Pass client timeout to APIRequestor constructor Co-authored-by: dinesh --- vlmrun/client/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlmrun/client/agent.py b/vlmrun/client/agent.py index 7c68736..856121e 100644 --- a/vlmrun/client/agent.py +++ b/vlmrun/client/agent.py @@ -25,7 +25,7 @@ def __init__(self, client: "VLMRunProtocol") -> None: client: VLM Run API instance """ self._client = client - self._requestor = APIRequestor(client) + self._requestor = APIRequestor(client, timeout=client.timeout) def get( self, From b04eb6f61e26d06c8c181834d70f45f532063e86 Mon Sep 17 00:00:00 2001 From: dineshreddy Date: Thu, 14 Aug 2025 19:48:25 -0700 Subject: [PATCH 2/2] update timeout default --- vlmrun/client/base_requestor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlmrun/client/base_requestor.py b/vlmrun/client/base_requestor.py index 0548e61..eb86ac9 100644 --- a/vlmrun/client/base_requestor.py +++ b/vlmrun/client/base_requestor.py @@ -27,7 +27,7 @@ ) # Constants -DEFAULT_TIMEOUT = 30.0 # seconds +DEFAULT_TIMEOUT = 120.0 # seconds DEFAULT_MAX_RETRIES = 5 INITIAL_RETRY_DELAY = 1 # seconds MAX_RETRY_DELAY = 10 # seconds