Files
OpenHands/openhands/app_server
openhands 20366ba973 feat: Enable enterprise SQLAppConversationInfoService override in SAAS mode
- Add SaasAppConversationInfoServiceInjector to properly inject enterprise service
- Modify base config to use enterprise injector when OPENHANDS_CONFIG_CLS contains 'saas'
- Ensure OPENHANDS_CONFIG_CLS is set in saas_server.py for proper SAAS mode detection
- Clean up stored_conversation_metadata.py imports and exports

This ensures that when launching the enterprise server with uvicorn saas_server:app,
the overridden _secure_select() method with user-based filtering is used instead
of the base OSS implementation.

Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-29 19:16:34 +00:00
..
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00
2025-10-14 02:16:44 +00:00

OpenHands App Server

FastAPI-based application server that provides REST API endpoints for OpenHands V1 integration.

Overview

As of 2025-09-29, much of the code in the OpenHands repository can be regarded as legacy, having been superseded by the code in AgentSDK. This package provides endpoints to interface with the new agent SDK and bridge the gap with the existing OpenHands project.

Architecture

The app server is organized into several key modules:

  • conversation/: Manages sandboxed conversations and their lifecycle
  • event/: Handles event storage, retrieval, and streaming
  • event_callback/: Manages webhooks and event callbacks
  • sandbox/: Manages sandbox environments for agent execution
  • user/: User management and authentication
  • services/: Core services like JWT authentication
  • utils/: Utility functions for common operations