Spaces:
Configuration error
Configuration error
Download openhands/server/session/conversation_init_data.py from flyingdarkdev/README: direct link, hf CLI and curl.
- Browser
- Download file 649 Bytes
-
https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/server/session/conversation_init_data.py
- Command line
-
hf download hf://spaces/flyingdarkdev/README/openhands/server/session/conversation_init_data.py
-
curl -L -o conversation_init_data.py https://huggingface.co/spaces/flyingdarkdev/README/resolve/main/openhands/server/session/conversation_init_data.py
649 Bytes
| from pydantic import Field | |
| from openhands.integrations.provider import PROVIDER_TOKEN_TYPE | |
| 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. | |
| """ | |
| git_provider_tokens: PROVIDER_TOKEN_TYPE | None = Field(default=None, frozen=True) | |
| selected_repository: str | None = Field(default=None) | |
| replay_json: str | None = Field(default=None) | |
| selected_branch: str | None = Field(default=None) | |
| model_config = { | |
| 'arbitrary_types_allowed': True, | |
| } | |