Cai 😈 (@caixukun3023)搞定 DeepSeek-V3.1 思考模式!分享 OpenRouter 和阿里百炼的 NEWAPI 设置 中发帖

DeepSeek-V3.1 的思考 (Thinking/Reasoning) 模式在不同渠道的开启参数不同,直接调用比较麻烦。 
研究了一下,通过 NEWAPI 的参数覆盖功能,可以实现无缝切换。我自定义的 DeepSeek-V3.1-Thinking 作为开启思考模式的专用模型,而 DeepSeek-V3.1 则保持默认不思考。
配置代码如下,直接取用即可:
1. OpenRouter 渠道配置
此配置会添加 reasoning 参数,并映射到正确的模型 ID。
{
"operations": [
{
"path": "reasoning",
"mode": "set",
"value": {
"enabled": true
},
"conditions": [
{
...