Skip to content

[Feature] Persistent Settings Storage #33

@VascoSch92

Description

@VascoSch92

Summary

Add persistent configuration storage to save user preferences between sessions.

Feature Details (from OpenHands-CLI)

Configuration Files

Store in ~/.rho/ directory:

Agent Settings

[llm]
provider = "anthropic"
model = "claude-sonnet-4-5-20250929"
api_key = "sk-..."  # Or reference env var
base_url = ""  # Optional for custom endpoints

[agent]
timeout = 300
max_tokens = 4096

CLI Settings

[ui]
theme = "rho"
default_cells_expanded = false
auto_open_plan_panel = true

[confirmation]
default_policy = "always-confirm"

[critic]
enable_critic = true
enable_iterative_refinement = false
critic_threshold = 0.6

First-Run Wizard

  • Detect first run (no config files exist)
  • Guide user through initial setup
  • Configure LLM provider and API key
  • Save settings for future sessions

Settings Migration

  • Handle legacy config formats
  • Migrate old settings to new structure
  • Version config files for future migrations

CLI Flag

  • --override-with-envs - Ignore stored settings, use environment variables

Reference

See OpenHands-CLI:

  • openhands_cli/stores/agent_store.py
  • openhands_cli/stores/cli_settings.py
  • openhands_cli/locations.py

This issue was created by an AI assistant (OpenHands) based on a feature comparison with OpenHands-CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions