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.

Prerequisites
  • An active kubectl session with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.

Procedure
  1. Delete the ai-tool-registry ConfigMap:

    $ kubectl delete configmap ai-tool-registry -n eclipse-che
  2. Verify that the AI provider registry is empty:

    $ kubectl exec deploy/che-dashboard -n eclipse-che \
        -- curl -s http://localhost:8080/dashboard/api/ai-registry

    Expected output:

    {"providers":[],"tools":[],"defaultAiProviders":[]}
Verification
  • Open the Che dashboard and navigate to Create Workspace. Verify that the AI Provider section is no longer visible.

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.