feat: enable native tool calling for deepseek 3.2 [AI-27] (#7877)
* feat: enable native tool calling for deepseek 3.2 Add isDeepSeek32ModelFamily() function to identify DeepSeek 3.2 models and integrate it into the isNextGenModelFamily() check. This classifies DeepSeek 3.2 as a next-generation model family, enabling native tool calling support. * typo
This commit is contained in:
2 files changed
+12
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"claude-dev": patch
|
||||
---
|
||||
|
||||
Add DeepSeek 3.2 to native tool calling allow list
|
||||
@@ -121,6 +121,11 @@ export function isGemini3ModelFamily(id: string): boolean {
|
||||
return modelId.includes("gemini3") || modelId.includes("gemini-3")
|
||||
}
|
||||
|
||||
function isDeepSeek32ModelFamily(id: string): boolean {
|
||||
const modelId = normalize(id)
|
||||
return modelId.includes("deepseek") && modelId.includes("3.2")
|
||||
}
|
||||
|
||||
export function isNextGenModelFamily(id: string): boolean {
|
||||
const modelId = normalize(id)
|
||||
return (
|
||||
@@ -130,7 +135,8 @@ export function isNextGenModelFamily(id: string): boolean {
|
||||
isGPT5ModelFamily(modelId) ||
|
||||
isMinimaxModelFamily(modelId) ||
|
||||
isGemini3ModelFamily(modelId) ||
|
||||
isNextGenOpenSourceModelFamily(modelId)
|
||||
isNextGenOpenSourceModelFamily(modelId) ||
|
||||
isDeepSeek32ModelFamily(modelId)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user