# ModelConfigError

> **Class** in `deepagents_cli`

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

Raised when model configuration or creation fails.

## Signature

```python
ModelConfigError()
```

## Extends

- `Exception`

---

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