Skip to main content

openhands.server.types

SessionMiddlewareInterface Objects

class SessionMiddlewareInterface(Protocol)

Protocol for session middleware classes.

ServerConfigInterface Objects

class ServerConfigInterface(ABC)

verify_config

@abstractmethod
def verify_config() -> None

Verify configuration settings.

get_config

@abstractmethod
async def get_config() -> dict[str, str]

Configure attributes for frontend

MissingSettingsError Objects

class MissingSettingsError(ValueError)

Raised when settings are missing or not found.

LLMAuthenticationError Objects

class LLMAuthenticationError(ValueError)

Raised when there is an issue with LLM authentication.