# without_effort_model_params

> **Function** in `deepagents_code`

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

Remove canonical and native effort settings without changing siblings.

## Signature

```python
without_effort_model_params(
    model_spec: str,
    existing: dict[str, Any] | None,
) -> dict[str, Any] | None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `model_spec` | `str` | Yes | `provider:model` spec for the active model. |
| `existing` | `dict[str, Any] \| None` | Yes | Current per-session model constructor parameters. |

## Returns

`dict[str, Any] | None`

Cleaned parameters, or `None` when no parameters remain.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/6a8d452d70f9bcb978e6bd44831dda093ecbe928/libs/code/deepagents_code/reasoning_effort.py#L315)