从安装到启动,三步跑起系统

ACTION.MD 完成依赖安装、环境变量配置与服务启动。

1

安装 Python 依赖

在项目根目录执行 pip install -r requirements.txt

2

配置环境变量

先执行 cp .env.example .env,再检查 OPENAI_API_KEYOPENAI_BASE_URL 以及推理/快速/向量模型配置。

3

启动系统

运行 python start.py,后端默认在 0.0.0.0:8000,Swagger 文档在 http://127.0.0.1:8000/docs

Terminal — Octopuses
$ pip install -r requirements.txt
Installing packages...
✓ Installation complete
$ cp .env.example .env
Edit .env and fill OPENAI_API_KEY / OPENAI_BASE_URL
$ python start.py
INFO: Started server process
INFO: Uvicorn running on http://0.0.0.0:8000
INFO: Swagger docs at http://127.0.0.1:8000/docs
INFO: Frontend dev server at http://127.0.0.1:8080 if npm is available
✓ Octopuses is ready!
$ curl -s http://localhost:8000/healthz
{"status":"ok"}