diff --git a/package-lock.json b/package-lock.json index 6688a29b..270393d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "posthog-node": "^4.8.1", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-tooltip": "^5.28.0", + "react-tooltip": "^5.28.1", "tas-client-umd": "0.2.0", "v8-inspect-profiler": "^0.1.1", "vscode-html-languageservice": "^5.3.1", @@ -18008,9 +18008,9 @@ "license": "MIT" }, "node_modules/react-tooltip": { - "version": "5.28.0", - "resolved": "https://registry.npmjs.org/react-tooltip/-/react-tooltip-5.28.0.tgz", - "integrity": "sha512-R5cO3JPPXk6FRbBHMO0rI9nkUG/JKfalBSQfZedZYzmqaZQgq7GLzF8vcCWx6IhUCKg0yPqJhXIzmIO5ff15xg==", + "version": "5.28.1", + "resolved": "https://registry.npmjs.org/react-tooltip/-/react-tooltip-5.28.1.tgz", + "integrity": "sha512-ZA4oHwoIIK09TS7PvSLFcRlje1wGZaxw6xHvfrzn6T82UcMEfEmHVCad16Gnr4NDNDh93HyN037VK4HDi5odfQ==", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.6.1", diff --git a/package.json b/package.json index 6ce28572..e7613ff0 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "posthog-node": "^4.8.1", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-tooltip": "^5.28.0", + "react-tooltip": "^5.28.1", "tas-client-umd": "0.2.0", "v8-inspect-profiler": "^0.1.1", "vscode-html-languageservice": "^5.3.1", diff --git a/src/vs/workbench/contrib/void/common/modelCapabilities.ts b/src/vs/workbench/contrib/void/common/modelCapabilities.ts index 899fb94f..3268f1dc 100644 --- a/src/vs/workbench/contrib/void/common/modelCapabilities.ts +++ b/src/vs/workbench/contrib/void/common/modelCapabilities.ts @@ -123,7 +123,7 @@ export type VoidStaticModelInfo = { // not stateful } supportsSystemMessage: false | 'system-role' | 'developer-role' | 'separated'; // separated = anthropic where "system" is a special parameter - // supportsTools: false | 'TODO-yes-but-we-handle-it-manually' | 'anthropic-style' | 'openai-style'; + supportsTools?: false | 'TODO-yes-but-we-handle-it-manually' | 'anthropic-style' | 'openai-style'; supportsFIM: boolean; reasoningCapabilities: false | { @@ -678,6 +678,7 @@ const ollamaModelOptions = { downloadable: { sizeGb: 1.9 }, supportsFIM: true, supportsSystemMessage: 'system-role', + supportsTools: false, reasoningCapabilities: false, }, 'qwen2.5-coder': { @@ -687,6 +688,7 @@ const ollamaModelOptions = { downloadable: { sizeGb: 4.7 }, supportsFIM: false, supportsSystemMessage: 'system-role', + supportsTools: false, reasoningCapabilities: false, }, 'qwq': { @@ -696,6 +698,7 @@ const ollamaModelOptions = { downloadable: { sizeGb: 20 }, supportsFIM: false, supportsSystemMessage: 'system-role', + supportsTools: 'TODO-yes-but-we-handle-it-manually', reasoningCapabilities: { supportsReasoning: true, canIOReasoning: false, canTurnOffReasoning: false, openSourceThinkTags: ['', ''] }, }, 'deepseek-r1': { @@ -705,6 +708,7 @@ const ollamaModelOptions = { downloadable: { sizeGb: 4.7 }, supportsFIM: false, supportsSystemMessage: 'system-role', + supportsTools: 'TODO-yes-but-we-handle-it-manually', reasoningCapabilities: { supportsReasoning: true, canIOReasoning: false, canTurnOffReasoning: false, openSourceThinkTags: ['', ''] }, }, @@ -820,8 +824,9 @@ const openRouterModelOptions_assumingOpenAICompat = { contextWindow: 256_000, maxOutputTokens: null, cost: { input: 0.3, output: 0.9 }, - reasoningCapabilities: false, downloadable: false, + supportsTools: 'openai-style', + reasoningCapabilities: false, }, 'qwen/qwen-2.5-coder-32b-instruct': { ...openSourceModelOptions_assumingOAICompat['qwen2.5coder'],