Add automatic setup flow in CLI mode when settings are not found (#8775)

Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
Robert Brennan
2025-06-03 20:01:12 -04:00
committed by GitHub
parent c2a0e525de
commit b771fb6e32
7 changed files with 226 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ class OpenHandsConfig(BaseModel):
extended: ExtendedConfig = Field(default_factory=lambda: ExtendedConfig({}))
runtime: str = Field(default='docker')
file_store: str = Field(default='local')
file_store_path: str = Field(default='/tmp/openhands_file_store')
file_store_path: str = Field(default='~/.openhands/file_store')
file_store_web_hook_url: str | None = Field(default=None)
file_store_web_hook_headers: dict | None = Field(default=None)
save_trajectory_path: str | None = Field(default=None)