open-swe/apps/open-swe/.env.example
Brace Sproul abc984409f
refactor: Proxy req utils, rename GITHUB_TOKEN_ENCRYPTION_KEY to SECRETS_ENCRYPTION_KEY (#391)
* refactor: Proxy req utils, rename GITHUB_TOKEN_ENCRYPTION_KEY to SECRETS_ENCRYPTION_KEY

* cr
2025-07-11 10:48:14 -07:00

52 lines
1.7 KiB
Text

# ------------------LangSmith tracing------------------
LANGCHAIN_PROJECT="default"
LANGCHAIN_API_KEY="lsv2_pt_..."
LANGCHAIN_TRACING_V2="true"
# Set to true when ready to run evals, _and_ have the results uploaded to LangSmith.
# If false, evals will still run, but results will not be saved in LangSmith.
LANGCHAIN_TEST_TRACKING="false"
# ------------------LLM Provider Keys------------------
# Defaults to Anthropic models.
ANTHROPIC_API_KEY=""
OPENAI_API_KEY=""
GOOGLE_API_KEY=""
# ------------------Infrastructure---------------------
# Daytona API key for creating & accessing the cloud sandbox.
DAYTONA_API_KEY=""
# ------------------------Tools------------------------
# Firecrawl API key for calling the get URL contents tool.
FIRECRAWL_API_KEY=""
# ------------------Github App Secrets-----------------
# Used for setting the git user name & email for commits.
# Can modify to whatever string you want.
GITHUB_APP_NAME="open-swe-dev"
GITHUB_APP_ID=""
# App secret key. Should be multi-line.
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----
...add your private key here...
-----END RSA PRIVATE KEY-----
"
# Secret key for verifying GitHub webhook events.
GITHUB_WEBHOOK_SECRET=""
# ------------------------Other------------------------
# Defaults to 2024 if not set.
# LGP will automatically set this for you in production.
PORT="2024"
# Used to create a run URL when replying to a GitHub issue comment.
# Should be the URL of the web app. Localhost in dev, production URL
# in production.
OPEN_SWE_APP_URL="http://localhost:3000"
# Encryption key for secrets (32-byte hex string for AES-256)
# Should be the same value as the one used in the web app, so that secrets
# encrypted in the web app can be decrypted in the agent.
SECRETS_ENCRYPTION_KEY=""