Theia API Documentation v1.71.0
    Preparing search index...

    Default implementation of AIActivationService marks the feature active by default.

    Adopters may override this implementation to provide custom activation logic.

    Note that '@theia/ai-ide' also overrides this service to provide activation based on preferences, disabling the feature by default.

    Implements

    Index

    Constructors

    Properties

    canRun: boolean = true

    Whether AI features should actually be able to run (isActive + other conditions, e.g. workspace trust).

    contextKeyService: ContextKeyService
    isActive: boolean = true

    Whether AI features are enabled in preferences.

    onDidChangeAIEnabled: Emitter<boolean> = ...
    onDidChangeCanRunEmitter: Emitter<boolean> = ...

    Accessors

    Methods