OpenHands/openhands/server/session/session_init_data.py
tofarr fe1bb1c233
Feat config server side store (#5594)
Co-authored-by: openhands <openhands@all-hands.dev>
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