Disable AI coding assistants

Disable AI coding assistants by deleting the ai-tool-registry ConfigMap. The AI Provider section on the Create Workspace page is hidden when the ConfigMap is absent.

Before you begin

Procedure

  1. Delete the ai-tool-registry ConfigMap:
    $ oc delete configmap ai-tool-registry -n openshift-devspaces
  2. Verify that the AI provider registry is empty:
    $ oc exec deploy/devspaces-dashboard -n openshift-devspaces \
        -- curl -s http://localhost:8080/dashboard/api/ai-registry

    Expected output:

    {"providers":[],"tools":[],"defaultAiProviders":[]}

Results

  • Open the OpenShift Dev Spaces dashboard and navigate to Create Workspace. Verify that the AI Provider section is no longer visible.
Note:

Deleting the ConfigMap does not remove existing API key Secrets from user namespaces. Users who previously stored API keys retain those Secrets until they manually delete them or an administrator removes them.