# unsuppress_warning

> **Function** in `deepagents_cli`

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

Remove a warning key from the suppression list in the config file.

Reads existing config (if any), removes `key` from `[warnings].suppress`,
and writes back using atomic temp-file rename. No-op if the key is not
present or the file does not exist.

## Signature

```python
unsuppress_warning(
    key: str,
    config_path: Path | None = None,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `key` | `str` | Yes | Warning identifier to unsuppress (e.g., `'ripgrep'`). |
| `config_path` | `Path \| None` | No | Path to config file.  Defaults to `~/.deepagents/config.toml`. (default: `None`) |

## Returns

`bool`

`True` if save succeeded, `False` if it failed due to I/O errors.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/bb27e62ebe44dd6e8104a504b1718ce87acc7ffa/libs/cli/deepagents_cli/model_config.py#L1337)