# should_announce_auto_update_default

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/should_announce_auto_update_default)

Return whether to show the one-time auto-update default migration notice.

`True` when no explicit env/config preference is set (so auto-update is on
only *implicitly*, via the opt-out default) and the notice has not been
acknowledged yet. This does not itself verify that auto-update is enabled;
callers must gate on `is_auto_update_enabled` first (e.g. an editable
install has no explicit preference but never auto-updates).

## Signature

```python
should_announce_auto_update_default() -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/7794b61a6e76230e8c7a49bdce808b3728305914/libs/code/deepagents_code/update_check.py#L3381)