# is_langsmith_redaction_enabled

> **Function** in `deepagents_code`

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

Return whether LangSmith secret redaction is enabled for agent traces.

## Signature

```python
is_langsmith_redaction_enabled() -> bool
```

---

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