-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] #2950
Comments
👀 @zhogu Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
I think it's not an issue for LobeChat. You need to think about why not use https |
✅ @zhogu This issue is closed, If you have any questions, you can comment and reply. |
Alright. The http proxy works well when I used openai python lib to access it. I can understand the error msg is not produced by the code in this repo but some depended libs. Could you provide some information on it? |
According to the error msg, it might be possible to set |
I don't think is a good idea to add this param in the LobeChat main repo, maybe you can change it by yourself https://github.com/lobehub/lobe-chat/blob/main/src/libs/agent-runtime/azureOpenai/index.ts |
Thanks, I agree with you. |
📦 部署环境
Docker
📌 软件版本
v1.0.13
💻 系统环境
Ubuntu
🌐 浏览器
Chrome
🐛 问题描述
donot support
http
endpoint for azure openai models :Route: [azure] AgentRuntimeError: {
cause: undefined,
message: 'Cannot connect to http:https://[my azure openai proxy]/openai/deployments/gpt-4/chat/completions?api-version=2023-07-01-preview while allowInsecureConnection is false.',
name: 'Error'
}
The endpoint is a my personal reverse proxy, which will redirect the request to multiple azure openai endpoints. The proxy only support http request. But I cannot find a way to set
allowInsecureConnection
as true.📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: