DeepSeek R1

在OpwenWebUI中显示DeepSeek R1模型的思维链(仅支持0.5.6及以上版本) / Display the reasoning chain of the DeepSeek R1 model in OpwenWebUI(Only supports versions 0.5.6 and above)

v1.2.16
deepseek_r1.py
Python · 388 lines
19    class Valves(BaseModel):20        DEEPSEEK_API_BASE_URL: str = Field(21            default="https://api.deepseek.com/v1",22            description="DeepSeek API的基础请求地址",23        )24        DEEPSEEK_API_KEY: str = Field(25            default="", description="用于身份验证的DeepSeek API密钥,可从控制台获取"26        )27        DEEPSEEK_API_MODEL: str = Field(28            default="deepseek-reasoner",29            description="API请求的模型名称,默认为 deepseek-reasoner,多模型名可使用`,`分隔",30        )

在OpwenWebUI中显示DeepSeek R1模型的思维链(仅支持0.5.6及以上版本) / Display the reasoning chain of the DeepSeek R1 model in OpwenWebUI(Only supports versions 0.5.6 and above)

0
0