OpenHands/openhands/server/session/conversation_init_data.py
Rohit Malhotra 4a5891cbea
[Bug fix]: Standardize SecretStr use (#6660)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
2025-02-10 08:03:56 -05:00

13 lines
393 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)