# consume_recent_auto_not_restored_notice

> **Function** in `deepagents_code`

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

Return and clear the pending not-restored notice, if any.

## Signature

```python
consume_recent_auto_not_restored_notice() -> str | None
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/model_config.py#L6338)