.env.example 1.3 KB

12345678910111213141516171819202122232425
  1. # Workflow tool configuration
  2. # Copy this file to .env and fill in your values.
  3. # .env is git-ignored — never commit it.
  4. #
  5. # Priority: environment variables > .env file > built-in defaults
  6. # You can also set WORKFLOW_CONFIG=/path/to/your/config to use a custom path.
  7. # ── LLM 配置(二选一)────────────────────────────────────────────────────────
  8. # 方式 A:直接使用 Anthropic API(推荐)
  9. LLM_URL=https://api.anthropic.com
  10. LLM_KEY=sk-ant-api03-xxxxxxx # 填入你的 Anthropic API Key
  11. LLM_MODEL=claude-sonnet-4-5 # 推荐模型
  12. # 方式 B:LiteLLM 代理或其他 OpenAI 兼容接口
  13. # LLM_URL=http://localhost:4000
  14. # LLM_KEY=sk-xxx
  15. # LLM_MODEL=gpt-4o
  16. # ── 本地工作区 ────────────────────────────────────────────────────────────────
  17. # workflow 写文件时,路径为:WORKSPACE_ROOT/<workspaceId>/<workflow 内定义的路径>
  18. WORKSPACE_ROOT=./workspace
  19. # ── 服务器端口 ────────────────────────────────────────────────────────────────
  20. PORT=8080