Skip to content

Commit daa2fd5

Browse files
authored
refactor: update request timeout handling when fetching secrets (#1272)
1 parent 7ffe922 commit daa2fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openhands-sdk/openhands/sdk/conversation/secret_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class LookupSecret(SecretSource):
4545
headers: dict[str, str] = Field(default_factory=dict)
4646

4747
def get_value(self):
48-
response = httpx.get(self.url, headers=self.headers)
48+
response = httpx.get(self.url, headers=self.headers, timeout=30.0)
4949
response.raise_for_status()
5050
return response.text
5151

0 commit comments

Comments
 (0)