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 {
815
815
816
816
export class ModelConfigListener extends ConfigListener implements ModelConfig {
817
817
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
+ ) ;
819
822
}
820
823
821
824
public get flowGeneration ( ) : boolean {
822
825
return ! ! FLOW_GENERATION . getValue < boolean > ( ) ;
823
826
}
824
827
825
828
public get llmGeneration ( ) : boolean {
826
- return ! ! LLM_GENERATION . getValue < boolean > ( ) ;
829
+ return ! ! LLM_GENERATION . getValue < boolean > ( ) && ! hasEnterpriseUri ( ) ;
827
830
}
828
831
829
832
/**
You can’t perform that action at this time.
0 commit comments