# EditDecision

> **Class** in `langchain`

📖 [View in docs](https://reference.langchain.com/python/langchain/agents/middleware/human_in_the_loop/EditDecision)

Response when a human edits the action.

## Signature

```python
EditDecision()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    type: Literal['edit'],
    edited_action: Action,
)
```

| Name | Type |
|------|------|
| `type` | `Literal['edit']` |
| `edited_action` | `Action` |


## Properties

- `type`
- `edited_action`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/ee95ad6907f5eab94644183393a20aa2a032bb19/libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py#L75)