mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
14 lines
447 B
Python
14 lines
447 B
Python
from pydantic import Field, SecretStr
|
|
|
|
from openhands.server.settings import Settings
|
|
|
|
|
|
class ConversationInitData(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: SecretStr | None = Field(default=None)
|
|
selected_repository: str | None = Field(default=None)
|
|
selected_branch: str | None = Field(default=None)
|