Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Set dump mode to json to convert UUIDs to strings (#11467)

Tim O'Farrelle34c13ea3c2a
diff --git a/openhands/app_server/app_conversation/live_status_app_conversation_service.py b/openhands/app_server/app_conversation/live_status_app_conversation_service.py
index 6d2c9c2794..6941b32715 100644
--- a/openhands/app_server/app_conversation/live_status_app_conversation_service.py
+++ b/openhands/app_server/app_conversation/live_status_app_conversation_service.py
@@ -206,7 +206,7 @@ class LiveStatusAppConversationService(GitAppConversationService):
response = await self.httpx_client.post(
f'{agent_server_url}/api/conversations',
json=start_conversation_request.model_dump(
- context={'expose_secrets': True}
+ mode='json', context={'expose_secrets': True}
),
headers={'X-Session-API-Key': sandbox.session_api_key},
timeout=self.sandbox_startup_timeout,