Linhan Liu
Results
2
comments of
Linhan Liu
修改config or private_config文件。如果是ollama部署,AVAIL_LLM_MODELS可以增加ollama-deepseek-r1:671b,就可以了。远程的话做一个映射API_URL_REDIRECT = {"http://localhost:11434/api/chat": "http://{IP}:{PORT}/api/chat"}。就是这个展示界面有点不舒服,think内容和回答内容混在一起。
> 如何调用 阿里的deepseek-r1? 老哥 把DASHSCOPE_API_KEY填上,然后修改 API_URL_REDIRECT = {"https://api.deepseek.com/v1/chat/completions": "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"} 注:未经测试,参考https://help.aliyun.com/zh/model-studio/developer-reference/deepseek