-
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
[Feature]: 请问硅基流动的API如何接入 #2126
Comments
同问 |
ref to https://docs.siliconflow.cn/api-reference/chat-completions/chat-completions 符合oneapi格式 填写 Line 79 in 936e2f5
API_URL_REDIRECT = {
"https://api.deepseek.com/v1/chat/completions": "https://api.siliconflow.cn/v1/chat/completions"
} |
#2131 添加了硅基流动的API的接入,在自己机器上试了下应该能用 |
补充楼上:AVAIL_LLM_MODELS里面添加one-api-硅基流动模型名称,例:AVAIL_LLM_MODELS = ["Default", “one-api-deepseek-ai/DeepSeek-R1”] |
参考 #2131
---- 回复的原邮件 ----
***@***.***>发送日期2025年02月10日 12:51 ***@***.***> 抄送人Steven ***@***.***>,
***@***.***>主题Re: [binary-husky/gpt_academic] [Feature]: 请问硅基流动的API如何接入 (Issue #2126)
补充楼上:AVAIL_LLM_MODELS里面添加one-api-硅基流动模型名称,例:AVAIL_LLM_MODELS = ["Default", “one-api-deepseek-ai/DeepSeek-R1”]
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Class | 类型
None
Feature Request | 功能请求
RT,谢谢
The text was updated successfully, but these errors were encountered: