|
1 anno fa | |
---|---|---|
.vscode | 2 anni fa | |
app | 2 anni fa | |
public | 2 anni fa | |
static | 2 anni fa | |
.eslintrc.json | 2 anni fa | |
.gitignore | 2 anni fa | |
.gitpod.yml | 2 anni fa | |
LICENSE | 2 anni fa | |
README.md | 1 anno fa | |
next.config.js | 2 anni fa | |
package.json | 2 anni fa | |
tsconfig.json | 2 anni fa | |
yarn.lock | 2 anni fa |
如果你按照上述步骤一键部署了自己的项目,可能会发现总是提示“存在更新”的问题,这是由于 Vercel 会默认为你创建一个新项目而不是 fork 本项目,这会导致无法正确地检测更新。 推荐你按照下列步骤重新部署:
OPENAI_API_KEY
的环境变量,并填入你的 api key 作为值。本项目会持续更新,如果你想让代码库总是保持更新,可以查看 Github 的文档 了解如何让 fork 的项目与上游代码同步,建议定期进行同步操作以获得新功能。
你可以 star/watch 本项目或者 follow 作者来及时获得新功能更新通知。
If you have deployed your own project with just one click following the steps above, you may encounter the issue of "Updates Available" constantly showing up. This is because Vercel will create a new project for you by default instead of forking this project, resulting in the inability to detect updates correctly.
We recommend that you follow the steps below to re-deploy:
OPENAI_API_KEY
and enter your API key as the value during the redeploy process.This project will be continuously maintained. If you want to keep the code repository up to date, you can check out the Github documentation to learn how to synchronize a forked project with upstream code. It is recommended to perform synchronization operations regularly.
You can star or watch this project or follow author to get release notifictions in time.
点击下方按钮,开始二次开发:
在开始写代码之前,需要在项目根目录新建一个 .env.local
文件,里面填入环境变量:
Before starting development, you must create a new .env.local
file at project root, and place your api key into it:
OPENAI_API_KEY=<your api key here>