Diu

Results 95 comments of Diu

If you are self-deploying, make sure you fill in the correct environment variable `OPENAI_API_KEY` from [OpenAI API key](https://platform.openai.com/account/api-keys)

Sorry, our API Key limit has been exhausted, so the demo site is not available. And it doesn't have the ability to manually enter an Api Key, so you need...

You may want to use vite's `server.https` option, see https://cn.vitejs.dev/config/server-options.html#server-https And try editing options in `astro.config.mjs`. https://docs.astro.build/en/reference/configuration-reference/#vite

I notices that in network activities, the failed request was initiated by `rocket-loader.min.js`. ![ScreenShot 2023-03-22 at 17 57 24@2x](https://user-images.githubusercontent.com/1998168/226867624-d335e134-1cef-42a0-98c2-efdb584876ad.png) But in my own deployed instance, the request is initiated directly...

Not currently available. Until the permission validation logic becomes sufficiently refined, opening the interface will result in unauthorized calls. I think adding `API_ACCESS_TOKEN` environment variables is a solution. It could...

1. 可能暂时不会做配置文件预定义,但可以做历史记录缓存,重新刷新时保留原来的记录和 role,这部分之后在 #21 跟进 2. Duplicate of #118

> 修改了代码之后 ,我在本地部署测试一切正常,发布到github上面使用 netlify 部署就报错: > > 看意思是lockfile 和 file 不一致造成的,但是对比了一下新引入的包都一样啊,为什么还会提示这个?无解.... If you add a dependency, you will need to commit the lock file besides the `package.json`. Just committing `package.json`...

> I find a file which name `pnpm-lock.yaml`, do i need to add the dependency into it? the error log displays some errors about pnpm, i think maybe they have...

Thanks! We will add more Chinese translations soon.

It does not read environment variables yet. This is in our roadmap and we will add this soon.