Skip to content

Suppress AI tooling hints in non-interactive sessions - #7578

Open
ethanma-db wants to merge 1 commit into
mainfrom
ethan-ma/cnxt-2523-quiet-aitools-hint
Open

ethanma-db wants to merge 1 commit into
mainfrom
ethan-ma/cnxt-2523-quiet-aitools-hint

Conversation

@ethanma-db

@ethanma-db ethanma-db commented Nov 12, 2026 •

Copy link
Copy Markdown

Changes

Suppress the AI tooling installation hint unless the CLI has a fully interactive terminal and Claude Code provides a session ID. Preserve the existing once-per-hour session throttle and installed-tooling detection. Add a changelog fragment.

Why

When Claude Code does not supply a session ID, every command currently prints the installation hint. Suppressing unthrottled hints and non-interactive output keeps scripts and repeated CLI calls quiet.

Addresses CNXT-2523.

Tests

  • go test ./libs/aitools/agents ./cmd/root
  • Regression coverage for missing session IDs, piped streams, redirected stdin, and ensuring suppressed invocations do not consume the session hint.
  • git diff --check

@ethanma-db
ethanma-db requested review from a team and lennartkats-db as code owners November 12, 2026 21:41
@ethanma-db
ethanma-db requested review from misha-db and removed request for misha-db November 12, 2026 21:41
@pietern pietern added the aitools AI tools (databricks aitools) related changes label Nov 16, 2026

@anton-107 anton-107 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see ticket

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aitools AI tools (databricks aitools) related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants