Files
OpenHands/openhands/server/session/session_init_data.py
2024-12-18 15:18:56 -07:00

14 lines
359 B
Python

from dataclasses import dataclass
from openhands.server.settings import Settings
@dataclass
class SessionInitData(Settings):
"""
Session initialization data for the web environment - a deep copy of the global config is made and then overridden with this data.
"""
github_token: str | None = None
selected_repository: str | None = None