Theia API Documentation v1.72.1
    Preparing search index...
    Index

    Constructors

    Properties

    backendService: CodexService
    preferenceService: PreferenceService
    streams: Map<string, StreamState> = ...
    workspaceService: WorkspaceService

    Methods

    • Fallback hierarchy:

      1. Codex-specific API key (highest priority)
      2. Shared OpenAI API key
      3. undefined (backend will check OPENAI_API_KEY env var)

      Returns undefined | string

    • TODO: multi-root workspace support - currently only uses the first (primary) workspace root. In a multi-root workspace, the workspace root should be determined based on the active editor or user context.

      Returns Promise<undefined | string>