Skip to content
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

docker lobechat使用本地的deepseek如何配置代理 #5529

Open
zhurong666 opened this issue Jan 21, 2025 · 12 comments
Open

docker lobechat使用本地的deepseek如何配置代理 #5529

zhurong666 opened this issue Jan 21, 2025 · 12 comments

Comments

@zhurong666
Copy link

本地部署了一个deepseek,如何配置地址到本地的deepseek,好像没有DEEPSEEK_PROXY_URL

@lobehubbot
Copy link
Member

👀 @zhurong666

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


A deepseek is deployed locally, how to configure the address to the local deepseek, it seems that there is no DEEPSEEK_PROXY_URL

@zhurong666 zhurong666 changed the title docker deepseek如何配置代理 docker lobechat使用本地的deepseek如何配置代理 Jan 21, 2025
@arvinxx
Copy link
Contributor

arvinxx commented Jan 21, 2025

你用的是什么本地部署的方案?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What local deployment solution are you using?

Copy link

dosubot bot commented Jan 21, 2025

@zhurong666 你好!我是一个可以帮助解决错误、回答问题并成为贡献者的机器人。在等待人类维护者的过程中,我可以帮助你解决问题。

在之前的讨论中,有人提到目前Deepseek可能还不能自定义API代理地址。不过,你可以在OpenAI提供商处选中并调用Deepseek模型 [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@zhurong666
Copy link
Author

机器人检测到问题主体的语言不是英语,自动翻译。👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

本地部署了一个deepseek,怎么配置到本地的deepseek的地址,好像没有DEEPSEEK_PROXY_URL

你用的是什么本地部署的方案?

使用Python本地部署,可以使用本地xxxxxx:12331/api接口直接访问

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The robot detects that the language of the subject of the question is not English and automatically translates it. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

I have deployed a deepseek locally. How to configure the local deepseek address? There seems to be no DEEPSEEK_PROXY_URL.

What local deployment solution are you using?

Using Python local deployment, you can use the local xxxxxx:12331/api interface to directly access

@Lockeysama
Copy link

直接用 ollama 部署更方便吧

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It is more convenient to deploy directly with ollama.

@sxjeru
Copy link
Contributor

sxjeru commented Jan 22, 2025

如果本地接口兼容 openai,建议用“创建自定义 AI 服务商”的功能。

Image

@arvinxx
Copy link
Contributor

arvinxx commented Jan 22, 2025

DEEPSEEK_PROXY_URL

这个应该是能生效的,你可以环境变量里配置看试试

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


DEEPSEEK_PROXY_URL

This should take effect. You can try configuring it in the environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants