-
Notifications
You must be signed in to change notification settings - Fork 60.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 设置了code后出现 json TypeError: Can't modify immutable headers. #1746
Comments
不要设置 PROTOCOL 环境变量。 |
俺也遇到了这个问题。俺的环境变量里面只配置了OPENAI_API_KEY和CODE |
我使用了API2D的key,也是这样,API2D是一个代理的APIkey |
我也碰到了一样的问题!只配置了OPENAI_API_KEY和CODE |
同上,都遇到了这个问题,什么也没配置,也会报TypeError: Can't modify immutable headers. |
+1 TypeError: Can't modify immutable headers. |
我发现我只有在使用自定义域名的时候才会报错,vercel的域名正常。不知道其他几位是不是也一样的遭遇 |
@myqlrs 你的报错问题解决了吗 |
没有,我把CODE去了,就正常使用了,一加上CODE就不行 |
我解决了!是配置错了环境变了里的key
|
fix: #1746 Can't modify immutable headers.
新版代码已经修复该问题,手动同步代码即可。 |
code 和 API key 都需要设置才可用吗? 我怎么记得之前只设置 code 就可以,现在两个都要设置 |
Do both code and API key need to be set to be available? How do I remember that I only need to set the code before, but now I need to set both |
fix: ChatGPTNextWeb#1746 Can't modify immutable headers.
fix: ChatGPTNextWeb#1746 Can't modify immutable headers.
部署在vercel上并设置了code和api后,访问时只设置code出现 json TypeError: Can't modify immutable headers. [这个错,输入api可正常使用
The text was updated successfully, but these errors were encountered: