RSX Code Reference
    Preparing search index...

    Class LLMProviderRegistry

    Persisted registry of provider profiles available to the agent.

    Hierarchy (View Summary)

    Index
    profiles: LLMProviderProfile[]

    Persisted provider profiles available in this project.

    • get isGlobal(): boolean

      Gets the settings.

      Returns boolean

    • Copies all properties defined by the prototype of other to this instance.

      Parameters

      • other: Readonly<T>

      Returns void

    • Ensures every built-in provider profile exists without overwriting user-edited fields.

      Returns boolean

    • Serializes the selected provider profile into clipboard JSON.

      Parameters

      Returns string

    • Imports clipboard JSON as a new editable custom provider profile.

      Parameters

      • jsonText: string

      Returns LLMProviderProfile

    • Marks the settings as dirty and invokes the onDirty event handler.

      Returns void

      This method should be invoked after making a change, so subsystems such as a viewport cna be updated. If the settings are the shared editor settings, the editor settings will be marked for autosave.

    • Marks the registry dirty without requiring inspector interaction.

      Parameters

      • justification: string

      Returns void

    • Removes a custom provider profile and leaves built-in profiles intact.

      Parameters

      Returns boolean

    • Resets an editable built-in profile to engine defaults while preserving its API key.

      Parameters

      Returns boolean

    onDirty: Event<[LLMProviderRegistry], void>

    Invoked when the settings changed.

    This is an internal event. Do not subscribe directly to it, use UserProjectSettings.onSettingsChanged.