# invalidate_thread_config_cache

> **Function** in `deepagents_code`

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

Clear the cached `ThreadConfig` so the next load re-reads disk.

## Signature

```python
invalidate_thread_config_cache() -> None
```

---

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