mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-08 22:21:23 +00:00
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.
This commit is contained in:
parent
342ee70fb4
commit
d089c049c0
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ export class VsCodeLmHandler extends BaseProvider implements SingleCompletionHan
|
|||
}
|
||||
|
||||
// Static blacklist of VS Code Language Model IDs that should be excluded from the model list e.g. because they will never work
|
||||
const VSCODE_LM_STATIC_BLACKLIST: string[] = ["claude-3.7-sonnet", "claude-3.7-sonnet-thought"]
|
||||
const VSCODE_LM_STATIC_BLACKLIST: string[] = ["claude-3.7-sonnet-thought"]
|
||||
|
||||
export async function getVsCodeLmModels() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue