feat(cli): warn on missing tavily key, add /notifications#2555
Merged
Conversation
/notifications
Mason Daugherty (mdrxy)
marked this pull request as ready for review
April 8, 2026 04:48
Mason Daugherty (mdrxy)
enabled auto-merge (squash)
April 8, 2026 04:53
Mason Daugherty (mdrxy)
added a commit
that referenced
this pull request
Apr 9, 2026
> [!CAUTION] > Merging this PR will automatically publish to **PyPI** and create a **GitHub release**. For the full release process, see [`.github/RELEASING.md`](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md). --- _Everything below this line will be the GitHub release body._ --- ## [0.0.36](deepagents-cli==0.0.35...deepagents-cli==0.0.36) (2026-04-09) ### Features * `deepagents deploy` ([#2491](#2491)) ([01dc60e](01dc60e)) * Warn on missing tavily key, add `/notifications` ([#2555](#2555)) ([3dff3ed](3dff3ed)) ### Bug Fixes * Fail fast on missing provider credentials ([#2554](#2554)) ([50fb8ae](50fb8ae)) * Fix mktemp template in debug script for macOS ([#2603](#2603)) ([63fa537](63fa537)) --- _Everything above this line will be the GitHub release body._ --- > [!NOTE] > A **New Contributors** section is appended to the GitHub release notes automatically at publish time (see [Release Pipeline](https://github.com/langchain-ai/deepagents/blob/main/.github/RELEASING.md#release-pipeline), step 2). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Mason Daugherty <[email protected]>
james8814
pushed a commit
to james8814/deepagents
that referenced
this pull request
May 1, 2026
…n-ai#2555) Add a startup warning when `TAVILY_API_KEY` is not set, alerting users that web search is unavailable. Also introduce a `/notifications` slash command with a modal settings screen so users can toggle individual startup warnings on or off without hand-editing `config.toml`. - Add `tavily` to `check_optional_tools` — checks `settings.has_tavily` and the `[warnings].suppress` config, matching the existing `ripgrep` pattern - Add `NotificationSettingsScreen` modal with per-warning checkboxes that persist immediately to `~/.deepagents/config.toml` via `suppress_warning`/`unsuppress_warning` - Add `unsuppress_warning()` in `model_config.py` as the inverse of `suppress_warning`, with the same atomic temp-file write strategy - Split the old `_RIPGREP_SUPPRESS_HINT` into `_SUPPRESS_HINT_TUI` (points to `/notifications`) and `_SUPPRESS_HINT_CLI` (shows `config.toml` snippet with a `<key>` placeholder), and add Tavily-specific formatting for both output modes - Harden `suppress_warning` and `unsuppress_warning` against `[warnings].suppress` not being a list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a startup warning when
TAVILY_API_KEYis not set, alerting users that web search is unavailable. Also introduce a/notificationsslash command with a modal settings screen so users can toggle individual startup warnings on or off without hand-editingconfig.toml.Changes
tavilytocheck_optional_tools— checkssettings.has_tavilyand the[warnings].suppressconfig, matching the existingripgreppatternNotificationSettingsScreenmodal with per-warning checkboxes that persist immediately to~/.deepagents/config.tomlviasuppress_warning/unsuppress_warningunsuppress_warning()inmodel_config.pyas the inverse ofsuppress_warning, with the same atomic temp-file write strategy_RIPGREP_SUPPRESS_HINTinto_SUPPRESS_HINT_TUI(points to/notifications) and_SUPPRESS_HINT_CLI(showsconfig.tomlsnippet with a<key>placeholder), and add Tavily-specific formatting for both output modessuppress_warningandunsuppress_warningagainst[warnings].suppressnot being a list