Skip to content

Commit 974d221

Browse files
fix(sdk): restore default remote conversation paths
Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 589fc0c commit 974d221

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

openhands-sdk/openhands/sdk/conversation/impl/remote_conversation.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,10 @@ class RemoteEventsList(EventsListBase):
243243
_lock: threading.RLock
244244

245245
def __init__(
246-
self, client: httpx.Client, conversation_id: str, conversation_base_path: str
246+
self,
247+
client: httpx.Client,
248+
conversation_id: str,
249+
conversation_base_path: str = V1_CONVERSATIONS_PATH,
247250
):
248251
self._client = client
249252
self._conversation_id = conversation_id
@@ -406,7 +409,10 @@ class RemoteState(ConversationStateProtocol):
406409
_lock: threading.RLock
407410

408411
def __init__(
409-
self, client: httpx.Client, conversation_id: str, conversation_base_path: str
412+
self,
413+
client: httpx.Client,
414+
conversation_id: str,
415+
conversation_base_path: str = V1_CONVERSATIONS_PATH,
410416
):
411417
self._client = client
412418
self._conversation_id = conversation_id

0 commit comments

Comments
 (0)