Closed flamingo333 closed 8 months ago
windows
chrome
我用的是Nginx代理,API_BASE_URL配置了我的Nginx地址,每次只能返回部分内容,不知啥原因? 我直接用python的request调用Nginx地址是能正常完整返回内容的。
No response
找到原因了,是Nginx的配置问题,在nginx.conf加上这个就可以了 proxy_http_version 1.1; proxy_set_header Host generativelanguage.googleapis.com;
What operating system are you using?
windows
What browser are you using?
chrome
Describe the bug
我用的是Nginx代理,API_BASE_URL配置了我的Nginx地址,每次只能返回部分内容,不知啥原因? 我直接用python的request调用Nginx地址是能正常完整返回内容的。![断句](https://github.com/babaohuang/GeminiProChat/assets/16419926/16310e4a-96ed-4d83-bd2a-45d30d15c4b2)
What prompt did you enter?
No response
Console Logs
No response
Participation