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

[Feature]: 请问硅基流动的API如何接入 #2126

Open
jiemocoder opened this issue Feb 2, 2025 · 5 comments
Open

[Feature]: 请问硅基流动的API如何接入 #2126

jiemocoder opened this issue Feb 2, 2025 · 5 comments

Comments

@jiemocoder
Copy link

Class | 类型

None

Feature Request | 功能请求

RT,谢谢

@jiemocoder jiemocoder changed the title [Feature]: 请问硅基智能的API如何接入 [Feature]: 请问硅基流动的API如何接入 Feb 2, 2025
@yzbbds-htsm
Copy link

同问

@SakuraPuare
Copy link
Contributor

ref to https://docs.siliconflow.cn/api-reference/chat-completions/chat-completions

符合oneapi格式

填写

API_URL_REDIRECT = {}

API_URL_REDIRECT = {
    "https://api.deepseek.com/v1/chat/completions": "https://api.siliconflow.cn/v1/chat/completions"
}

@samonysh
Copy link

samonysh commented Feb 5, 2025

#2131 添加了硅基流动的API的接入,在自己机器上试了下应该能用

@JEFF-dev-ui
Copy link

补充楼上:AVAIL_LLM_MODELS里面添加one-api-硅基流动模型名称,例:AVAIL_LLM_MODELS = ["Default", “one-api-deepseek-ai/DeepSeek-R1”]

@SakuraPuare
Copy link
Contributor

SakuraPuare commented Feb 10, 2025 via email

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