File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -815,15 +815,18 @@ export interface ModelConfig {
815815
816816export class ModelConfigListener extends ConfigListener implements ModelConfig {
817817 protected handleDidChangeConfiguration ( e : ConfigurationChangeEvent ) : void {
818- this . handleDidChangeConfigurationForRelevantSettings ( [ MODEL_SETTING ] , e ) ;
818+ this . handleDidChangeConfigurationForRelevantSettings (
819+ [ MODEL_SETTING , VSCODE_GITHUB_ENTERPRISE_URI_SETTING ] ,
820+ e ,
821+ ) ;
819822 }
820823
821824 public get flowGeneration ( ) : boolean {
822825 return ! ! FLOW_GENERATION . getValue < boolean > ( ) ;
823826 }
824827
825828 public get llmGeneration ( ) : boolean {
826- return ! ! LLM_GENERATION . getValue < boolean > ( ) ;
829+ return ! ! LLM_GENERATION . getValue < boolean > ( ) && ! hasEnterpriseUri ( ) ;
827830 }
828831
829832 /**
You can’t perform that action at this time.
0 commit comments