refactor: 使用 openai SDK 替换 fetch 调用 LLM
All checks were successful
continuous-integration/drone/push Build is passing

- 安装 openai 包
- 重命名 zhipu.ts -> llm.ts
- 使用 OpenAI SDK 替代原生 fetch 实现
- 更新所有导入路径
This commit is contained in:
2026-03-10 11:58:27 +08:00
parent 0cb240791b
commit 6b9fba254d
8 changed files with 61 additions and 62 deletions

View File

@@ -22,6 +22,7 @@
"next": "16.1.1",
"next-intl": "^4.7.0",
"nodemailer": "^8.0.2",
"openai": "^6.27.0",
"pg": "^8.16.3",
"react": "19.2.3",
"react-dom": "19.2.3",