Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vlmrun/client/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devin keep DEFAULT_TIMEOUT as 30 but override it by passing as an argument while doing the request


def get(
self,
Expand Down
2 changes: 1 addition & 1 deletion vlmrun/client/base_requestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down