deepseek_r1_with_bocha_search.py
Python · 348 lines56 class Valves(BaseModel):57 DEEPSEEK_API_BASE_URL: str = Field(58 default="https://api.deepseek.com/v1",59 description="DeepSeek API的基础请求地址",60 )61 DEEPSEEK_API_KEY: str = Field(62 default="", description="用于身份验证的DeepSeek API密钥,可从控制台获取"63 )64 DEEPSEEK_API_MODEL: str = Field(65 default="deepseek-reasoner",66 description="API请求的模型名称,默认为 deepseek-reasoner ",67 ) In OpenWebUI, displays the thought chain of the DeepSeek R1 model and Bocha searchs (version 0.5.6 or higher)
0
0 
