mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
- 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>
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