mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
14 lines
449 B
Python
14 lines
449 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.
|
|
"""
|
|
|
|
provider_token: SecretStr | None = Field(default=None)
|
|
selected_repository: str | None = Field(default=None)
|
|
selected_branch: str | None = Field(default=None)
|