Skip to content

Commit ae6dc87

Browse files
committed
Create new feature flag
1 parent 55557df commit ae6dc87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

extensions/ql-vscode/src/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,11 @@ const EXTENSIONS_DIRECTORY = new Setting(
714714
"extensionsDirectory",
715715
DATA_EXTENSIONS,
716716
);
717+
const MODEL_DETAILS_VIEW = new Setting("modelDetailsView", DATA_EXTENSIONS);
718+
719+
export function showModelDetailsView(): boolean {
720+
return !!MODEL_DETAILS_VIEW.getValue<boolean>();
721+
}
717722

718723
export function showLlmGeneration(): boolean {
719724
return !!LLM_GENERATION.getValue<boolean>();

0 commit comments

Comments
 (0)