mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
14 lines
438 B
Python
14 lines
438 B
Python
import os
|
|
|
|
# Configuration directory for storing agent settings and CLI configuration
|
|
PERSISTENCE_DIR = os.path.expanduser('~/.openhands')
|
|
CONVERSATIONS_DIR = os.path.join(PERSISTENCE_DIR, 'conversations')
|
|
|
|
# Working directory for agent operations (current directory where CLI is run)
|
|
WORK_DIR = os.getcwd()
|
|
|
|
AGENT_SETTINGS_PATH = 'agent_settings.json'
|
|
|
|
# MCP configuration file (relative to PERSISTENCE_DIR)
|
|
MCP_CONFIG_FILE = 'mcp.json'
|