Skip to content

Commit d089c04

Browse files
committed
fix: remove claude-3.7-sonnet from VS Code LM blacklist to show in model dropdown
Fixes #6292 - Claude 3.7 Sonnet was being filtered out from the VS Code Language Model API provider list due to being in the static blacklist. This change removes it from the blacklist so it will appear in the dropdown when available through the VS Code LM API.
1 parent 342ee70 commit d089c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/vscode-lm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ export class VsCodeLmHandler extends BaseProvider implements SingleCompletionHan
565565
}
566566

567567
// Static blacklist of VS Code Language Model IDs that should be excluded from the model list e.g. because they will never work
568-
const VSCODE_LM_STATIC_BLACKLIST: string[] = ["claude-3.7-sonnet", "claude-3.7-sonnet-thought"]
568+
const VSCODE_LM_STATIC_BLACKLIST: string[] = ["claude-3.7-sonnet-thought"]
569569

570570
export async function getVsCodeLmModels() {
571571
try {

0 commit comments

Comments
 (0)