File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,7 @@ import { upgradesFindCL } from "./commands/upgradesFindCL";
77import { getPrivateTools } from "./tools" ;
88
99export function registerChatParticipant (
10- {
11- extension,
12- extensionUri,
13- languageModelAccessInformation,
14- } : vscode . ExtensionContext ,
10+ { extension, extensionUri } : vscode . ExtensionContext ,
1511 electronRoot : vscode . Uri ,
1612) {
1713 const chromiumRoot = vscode . Uri . joinPath ( electronRoot , ".." ) ;
@@ -22,13 +18,6 @@ export function registerChatParticipant(
2218 stream : vscode . ChatResponseStream ,
2319 token : vscode . CancellationToken ,
2420 ) : Promise < vscode . ChatResult > => {
25- if ( ! languageModelAccessInformation . canSendRequest ( request . model ) ) {
26- stream . markdown (
27- "This extension cannot use the selected model. Please choose a different model." ,
28- ) ;
29- return { } ;
30- }
31-
3221 const tools = getPrivateTools ( extension ) ;
3322
3423 if ( request . command === "findUpstreamFiles" ) {
You can’t perform that action at this time.
0 commit comments