# HistoryPrevious

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/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/a827cddf72d72e4b17921b8eb445a3bfb0511cb4/libs/cli/deepagents_cli/widgets/chat_input.py#L375)