diff --git a/agents/main/agent/models.json b/agents/main/agent/models.json index f130151..0179d56 100644 --- a/agents/main/agent/models.json +++ b/agents/main/agent/models.json @@ -395,6 +395,9 @@ "id": "deepseek-v4-flash", "name": "DeepSeek V4 Flash", "reasoning": false, + "compat": { + "supportsTools": false + }, "input": [ "text" ], @@ -424,6 +427,45 @@ "maxTokens": 384000 } ] + }, + "deepseek": { + "baseUrl": "https://api.deepseek.com/v1", + "apiKey": "DEEPSEEK_API_KEY", + "api": "openai-completions", + "models": [ + { + "id": "deepseek-v4-pro", + "name": "DeepSeek V4 Pro", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 1, + "output": 2, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 1000000, + "maxTokens": 384000 + }, + { + "id": "deepseek-v4-flash", + "name": "DeepSeek V4 Flash", + "reasoning": false, + "input": [ + "text" + ], + "cost": { + "input": 1, + "output": 2, + "cacheRead": 0, + "cacheWrite": 0 + }, + "contextWindow": 1000000, + "maxTokens": 384000 + } + ] } } } diff --git a/agents/main/agent/plugins/deepseek/catalog.json b/agents/main/agent/plugins/deepseek/catalog.json deleted file mode 100644 index 03e7f36..0000000 --- a/agents/main/agent/plugins/deepseek/catalog.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "generatedBy": "openclaw-plugin-model-catalog-v1", - "providers": { - "deepseek": { - "baseUrl": "https://api.deepseek.com/v1", - "models": [ - { - "id": "deepseek-v4-pro", - "name": "DeepSeek V4 Pro", - "reasoning": false, - "input": [ - "text" - ], - "cost": { - "input": 1, - "output": 2, - "cacheRead": 0, - "cacheWrite": 0 - }, - "contextWindow": 1000000, - "maxTokens": 384000 - }, - { - "id": "deepseek-v4-flash", - "name": "DeepSeek V4 Flash", - "reasoning": false, - "input": [ - "text" - ], - "cost": { - "input": 1, - "output": 2, - "cacheRead": 0, - "cacheWrite": 0 - }, - "contextWindow": 1000000, - "maxTokens": 384000 - } - ], - "api": "openai-completions", - "apiKey": "DEEPSEEK_API_KEY" - } - } -} diff --git a/openclaw.json b/openclaw.json index 935041c..4a7555f 100644 --- a/openclaw.json +++ b/openclaw.json @@ -85,6 +85,9 @@ "id": "deepseek-v4-flash", "name": "DeepSeek V4 Flash", "reasoning": false, + "compat": { + "supportsTools": false // 关键设置:禁用工具调用 + }, "input": [ "text" ], @@ -280,12 +283,7 @@ "fetch": { "enabled": true } - }, - "alsoAllow": [ - "ezviz_device", - "ezviz_capture", - "ezviz_message" - ] + } }, "messages": { "ackReactionScope": "group-mentions",