feat: add visual style picker and contextual previews
This commit is contained in:
1
RULES.md
1
RULES.md
@@ -34,6 +34,7 @@
|
||||
- VPS 数据持久化在 `/opt/ai-toy-patent-workflow/data`
|
||||
- VPS 生产环境变量在 `/opt/ai-toy-patent-workflow/deploy/.env.production`,不入库
|
||||
- 资源索引:运行 `npm run resources:index` 生成 `data/resource-index.json`、`data/resource-index.md` 和 `data/named/` 人类可读软链接;原始资源文件名不能直接改,避免 session JSON / 图片 URL 断链
|
||||
- 风格示意图:运行 `npm run styles:previews -- --force` 用 GPT 图片模型生成 `public/style-previews/*.png`;UI 左侧风格卡片直接引用这些小图
|
||||
|
||||
## 环境变量
|
||||
- `OPENAI_API_KEY` — GPT API Key;文本/结构化/图片生成统一走 GPT 最高规格配置
|
||||
|
||||
Reference in New Issue
Block a user