easy-llm-cli icon indicating copy to clipboard operation
easy-llm-cli copied to clipboard

配置硅基流动deepseek用不了

Open minshiwu opened this issue 5 months ago • 1 comments

按照readme说明,在项目根目录创建.env文件,配置环境变量。使用硅基流动的ds模型

# Enable custom LLM support
# USE_CUSTOM_LLM=true 

CUSTOM_LLM_PROVIDER="openai"  # LLM provider
CUSTOM_LLM_API_KEY="sk-1234"     # Your LLM provider API key
CUSTOM_LLM_ENDPOINT="https://api.siliconflow.cn/"  # API endpoint
CUSTOM_LLM_MODEL_NAME="deepseek-ai/DeepSeek-R1"  # Model name

无法使用,一直卡住: Image

minshiwu avatar Jul 28 '25 12:07 minshiwu

找多个介绍(csdn,知乎),比如这个:https://blog.csdn.net/m0_65555479/article/details/149497860。 怎么配置都不对,用不起来。

# Enable custom LLM support
USE_CUSTOM_LLM=true 

CUSTOM_LLM_PROVIDER="siliconflow"  # LLM provider
CUSTOM_LLM_API_KEY="sk-1234"     # Your LLM provider API key
CUSTOM_LLM_ENDPOINT="https://api.siliconflow.cn/v1"  # API endpoint
CUSTOM_LLM_MODEL_NAME="deepseek-ai/DeepSeek-R1"  # Model name

minshiwu avatar Jul 28 '25 12:07 minshiwu