# NemotronReasoningTagCleanupMiddleware

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/NemotronReasoningTagCleanupMiddleware)

Remove preserved `<think>` blocks from normal assistant content.

## Signature

```python
NemotronReasoningTagCleanupMiddleware()
```

## Extends

- `AgentMiddleware`

## Properties

- `name`

## Methods

- [`wrap_model_call()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/NemotronReasoningTagCleanupMiddleware/wrap_model_call)
- [`awrap_model_call()`](https://reference.langchain.com/python/deepagents/profiles/harness/_nvidia_nemotron_3_ultra/NemotronReasoningTagCleanupMiddleware/awrap_model_call)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/dcba42543955cadd63718f64ba0165864e7323ad/libs/deepagents/deepagents/profiles/harness/_nvidia_nemotron_3_ultra.py#L668)