Merge pull request #6236 from xiaohuanxiong3/main
add tool call support for deepseek-chat、deepseek-reasoner(Only for deepsee…
This commit is contained in:
commit
355ab1c5b0
1 changed files with 3 additions and 1 deletions
|
|
@ -179,7 +179,9 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
return false;
|
||||
},
|
||||
deepseek: (model) => {
|
||||
if (model !== "deepseek-reasoner") {
|
||||
// https://api-docs.deepseek.com/quick_start/pricing
|
||||
// https://api-docs.deepseek.com/guides/function_calling
|
||||
if (model === "deepseek-reasoner" || model === "deepseek-chat") {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue