Skip to content

Tell users about the automatic installation of AI tools - #292

Draft
anton-107 wants to merge 1 commit into
mainfrom
aitools-auto-install-notice
Draft

anton-107 wants to merge 1 commit into
mainfrom
aitools-auto-install-notice

Conversation

@anton-107

Copy link
Copy Markdown

Why

The Databricks CLI can install Databricks AI tools (skills) for the coding agents it finds on a machine the first time a new CLI version runs (databricks aitools auto-install). A person who installs the CLI with install.sh should learn about that, and about how to turn it off, before it happens.

What

install.sh prints a notice after the "Installed ..." line:

The Databricks CLI may install Databricks AI tools (skills) for the coding agents
it finds on this machine the first time it runs. To turn this off:
  databricks aitools auto-install disable
or set DATABRICKS_AITOOLS_AUTO_INSTALL=false

The notice is skipped when DATABRICKS_RUNTIME_VERSION or CI is set: the CLI never installs the tools on Databricks Runtime or in CI, and this script is what the GitHub Action runs. The release workflow only rewrites the VERSION= line, so the notice survives release PRs.

Notes

  • Draft: this should merge together with the CLI release that turns the automatic installation on, not before.
  • Checked locally with sh -n install.sh; shellcheck and the install tests run in CI.

This pull request and its description were written by Isaac.

The Databricks CLI can install Databricks AI tools (skills) for the coding
agents on a machine the first time a new version runs. Print a notice after
the install that says so and how to turn it off. The notice is skipped on
Databricks Runtime and in CI, where the CLI never does it.

Co-authored-by: Isaac <no-reply@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant