AI本地化实现
项目结构
ai.tihubb.com/
├─ server/ → Node API(代理 / Prompt 处理 / 鉴权 / 未来扩展)
│ ├── package.json
│ ├─ index.js ← HTTP API(/api/run)
│ ├── tool-runner.js
│ ├── ollama.js ← 只负责调 Ollama
│ ├── tools/
│ │ └── brief.json
│ └── prompts/
│ ├── brief.zhihu.md
│ ├── brief.x.md
│ └── brief.xhs.md
├── web/ → Vite + React 前端
│ ├── index.html
│ ├── package.json
│ ├── postcss.config.cjsjs
│ ├── tailwind.config.cjsjs
│ ├── vite.config.js
│ └── src/
│ ├── main.jsx
│ ├── App.jsx ← 只调 server API
│ └── index.css
└─ README.md
ai.tihubb.com/
├─ server/ → Node API(代理 / Prompt 处理 / 鉴权 / 未来扩展)
├─ web/ → Vite + React 前端
└─ README.md