File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/platform/inlineEdits/node Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ export class InlineEditsModelService extends Disposable implements IInlineEditsM
279279 } ;
280280 }
281281 tracer . trace ( 'No selected model found, using default model.' ) ;
282- return this . determineDefaultModel ( undefined , undefined ) ;
282+ return this . determineDefaultModel ( this . _copilotTokenObs . get ( ) , this . _defaultModelConfigObs . get ( ) ) ;
283283 }
284284
285285 private determineDefaultModel ( copilotToken : CopilotToken | undefined , defaultModelConfigString : string | undefined ) : Model {
@@ -337,7 +337,7 @@ export class InlineEditsModelService extends Disposable implements IInlineEditsM
337337 return model ;
338338 }
339339
340- return this . determineDefaultModel ( undefined , undefined ) ;
340+ return this . determineDefaultModel ( this . _copilotTokenObs . get ( ) , this . _defaultModelConfigObs . get ( ) ) ;
341341 }
342342
343343 private parseModelConfigStringSetting ( configKey : ExperimentBasedConfig < string | undefined > ) : ModelConfiguration | undefined {
You can’t perform that action at this time.
0 commit comments