# plugin_auto_update_setting

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/discovery/plugin_auto_update_setting)

Resolve whether plugin auto-updates are enabled and from which source.

## Signature

```python
plugin_auto_update_setting() -> tuple[bool, str]
```

## Returns

`tuple[bool, str]`

The enabled state and its configuration source.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/plugins/discovery.py#L317)