Skip to content

Commit 2ad9094

Browse files
authored
fix(pi): declare DeepSeek chat and tool compatibility (#3421)
1 parent d10ccbf commit 2ad9094

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

‎config/pi/models.json‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,29 @@
122122
},
123123
"contextWindow": 131072,
124124
"maxTokens": 16384
125+
},
126+
{
127+
"id": "deepseek-v4.1-flash",
128+
"name": "DeepSeek Flash",
129+
"api": "openai-completions",
130+
"reasoning": true,
131+
"input": [
132+
"text"
133+
],
134+
"cost": {
135+
"input": 0.14,
136+
"output": 0.28,
137+
"cacheRead": 0.0028,
138+
"cacheWrite": 0
139+
},
140+
"contextWindow": 1000000,
141+
"maxTokens": 384000,
142+
"compat": {
143+
"supportsDeveloperRole": false,
144+
"supportsReasoningEffort": false,
145+
"supportsStore": false,
146+
"maxTokensField": "max_tokens"
147+
}
125148
}
126149
]
127150
},

‎config/pi/models.tpl.json‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,29 @@
122122
},
123123
"contextWindow": 131072,
124124
"maxTokens": 16384
125+
},
126+
{
127+
"id": "__DEEPSEEK_FLASH_UNVERSIONED__",
128+
"name": "DeepSeek Flash",
129+
"api": "openai-completions",
130+
"reasoning": true,
131+
"input": [
132+
"text"
133+
],
134+
"cost": {
135+
"input": 0.14,
136+
"output": 0.28,
137+
"cacheRead": 0.0028,
138+
"cacheWrite": 0
139+
},
140+
"contextWindow": 1000000,
141+
"maxTokens": 384000,
142+
"compat": {
143+
"supportsDeveloperRole": false,
144+
"supportsReasoningEffort": false,
145+
"supportsStore": false,
146+
"maxTokensField": "max_tokens"
147+
}
125148
}
126149
]
127150
},

0 commit comments

Comments
 (0)