session_init_data.py 359 B

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