lobe-chat
lobe-chat copied to clipboard
[Request] Support for http_proxy inside
🥰 Feature Description
I deploy lobe-chat on my NAS with docker, and cannot connect to outsea LLM service from China. There are socks proxy service and http proxy service working on my NAS. I wanna know how can I run lobe-chat behind my http_proxy.
🧐 Proposed Solution
Support for explicit http_proxy for each LLM service.
📝 Additional Information
No response
👀 @saccohuo
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
自己填写一个 Docker Compose 并设置 http_proxy,具体流程可以询问GPT
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Fill in a Docker Compose yourself and set up http_proxy. You can ask GPT for the specific process.
自己填写一个 Docker Compose 并设置 http_proxy,具体流程可以询问GPT
试过不行
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Fill in a Docker Compose yourself and set up http_proxy. Please ask GPT for the specific process.
Tried but it doesn’t work
自己填写一个 Docker Compose 并设置 http_proxy,具体流程可以询问GPT
试了不行 +1
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Fill in a Docker Compose yourself and set up http_proxy. Please ask GPT for the specific process.
Tried it but it doesn’t work +1
我也遇到了同样的问题,希望能支持http_proxy
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I also encountered the same problem, hoping to support http_proxy
同样的问题,希望能支持http_proxy +1
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Same problem, hope http_proxy can be supported +1
I have proxy running locally with URL like http://127.0.0.1:xxxx.
If I install docker version of lobechat, how can I make it use to this proxy? If I put http://127.0.0.1:xxxx into PROYX_URL, I got an error which says the connection is refused.
我在本地运行代理,其 URL 如http://127.0.0.1:xxxx。
如果我安装了 docker 版本的 lobechat,我怎样才能让它使用这个代理?如果我将http://127.0.0.1:xxxx放入PROYX_URL 中,则会收到一条错误,表示连接被拒绝。
lobechat的PROYX_URL指的不是本机代理,而是反向代理服务器。建议你再部署一个oneapi:https://github.com/songquanpeng/one-api oneapi里生成一个令牌,填到lobechat的PROYX_URL即可
我也遇到了同样的问题,希望能支持http_proxy
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I also encountered the same problem, hoping to support http_proxy