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