Warnings and error handling

This commit is contained in:
Matt Rubens
2025-01-09 00:11:53 -05:00
parent d1c39c17e9
commit 9183244c28
3 changed files with 20 additions and 4 deletions

View File

@@ -57,6 +57,11 @@ export function validateApiConfiguration(apiConfiguration?: ApiConfiguration): s
return "You must provide a valid model ID."
}
break
case "vscode-lm":
if (!apiConfiguration.vsCodeLmModelSelector) {
return "You must provide a valid model selector."
}
break
}
}
return undefined