# save_thread_relative_time

> **Function** in `deepagents_cli`

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

Save the relative-time display preference for thread timestamps.

## Signature

```python
save_thread_relative_time(
    enabled: bool,
    config_path: Path | None = None,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `enabled` | `bool` | Yes | Whether to display relative timestamps. |
| `config_path` | `Path \| None` | No | Path to config file. (default: `None`) |

## Returns

`bool`

True if save succeeded, False on I/O error.

---

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