# HistoryPrevious

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/chat_input/ChatTextArea/HistoryPrevious)

Request previous history entry.

## Signature

```python
HistoryPrevious(
    self,
    current_text: str,
)
```

## Extends

- `Message`

## Constructors

```python
__init__(
    self,
    current_text: str,
) -> None
```

| Name | Type |
|------|------|
| `current_text` | `str` |


## Properties

- `current_text`

---

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