mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 15:58:03 +08:00
* Warn about OpenHands Cloud backend conflicts Co-authored-by: openhands <openhands@all-hands.dev> * Add isolated dev stack command Co-authored-by: openhands <openhands@all-hands.dev> * Promote isolated stack to default dev command Co-authored-by: openhands <openhands@all-hands.dev> * Fix dev-safe startup failure and docs Co-authored-by: openhands <openhands@all-hands.dev> * Restructure docs for users and developers Co-authored-by: openhands <openhands@all-hands.dev> * Remove libtmux from install docs Co-authored-by: openhands <openhands@all-hands.dev> * Fix first-load Vite optimize dependency errors Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: openhands <openhands@all-hands.dev>
22 lines
1.4 KiB
Bash
22 lines
1.4 KiB
Bash
# OpenHands Agent Server target
|
|
# These defaults assume you are manually pointing the frontend at a backend on
|
|
# 127.0.0.1:8000. The recommended local workflow is `npm run dev`, which starts
|
|
# an isolated local backend for this checkout. Use `npm run dev:frontend` only
|
|
# when you intentionally want to point at a separately managed backend.
|
|
VITE_BACKEND_HOST="127.0.0.1:8000" # Host:port used by the Vite dev proxy
|
|
VITE_BACKEND_BASE_URL="http://127.0.0.1:8000" # Base URL used by browser-side direct requests
|
|
# VITE_SESSION_API_KEY="" # Set to the same value as backend SESSION_API_KEY or OH_SESSION_API_KEYS_0 when auth is enabled
|
|
# VITE_WORKING_DIR="/workspace/project/agent-server-gui" # Repo root used when starting conversations
|
|
# VITE_WORKER_URLS="" # Optional comma-separated worker URLs for the Browser tab
|
|
# VITE_ENABLE_BROWSER_TOOLS="true" # Set to false to omit BrowserToolSet from new conversations
|
|
|
|
# Frontend dev server
|
|
VITE_FRONTEND_PORT="3001" # Port to run the frontend application
|
|
VITE_USE_TLS="false" # Use HTTPS/WSS for proxied backend connections
|
|
VITE_INSECURE_SKIP_VERIFY="false" # Skip TLS certificate verification for proxied backend requests
|
|
|
|
# Mocking / test helpers
|
|
VITE_MOCK_API="false" # Enable/disable API mocking with MSW
|
|
VITE_MOCK_SAAS="false" # Simulate SaaS mode in development
|
|
# VITE_GITHUB_TOKEN="" # GitHub token for repository access (used in some tests)
|