We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5e19b commit bdc64b4Copy full SHA for bdc64b4
src/packages/frontend/projects/store.ts
@@ -811,6 +811,10 @@ export class ProjectsStore extends Store<ProjectsState> {
811
tag?: string,
812
vendor: LLMServiceName | "any" = "any",
813
): boolean {
814
+ if (redux.getStore("account").getIn(["customize", "disableAI"])) {
815
+ // admin account-wide AI is disabled for this user.
816
+ return false;
817
+ }
818
const courseLimited = this.limitAIinCourseProject(tag);
819
820
// cache answer for a few seconds, in case this gets called a lot:
0 commit comments