contexts.md

 1# Introducing Contexts
 2
 3Contexts are like conversations in most assistant-like tools. A context is a collaborative tool for sharing information between you, your project, and the assistant/model.
 4
 5The model can reference content from your active context in the assistant panel, but also elsewhere like the inline assistant.
 6
 7### Saving and Loading Contexts
 8
 9After you submit your first message, a name for your context is generated by the language model, and the context is automatically saved to your file system in
10
11- `~/.config/zed/conversations` (macOS)
12- `~/.local/share/zed/conversations` (Linux)
13- `%LocalAppData%\Zed\conversations` (Windows)
14
15You can access and load previous contexts by clicking on the history button in the top-left corner of the assistant panel.
16
17![Viewing assistant history](https://zed.dev/img/assistant/assistant-history.png)
18
19### Viewing Past Contexts
20
21You can view all previous contexts by opening the `History` tab in the assistant panel.
22
23Open the `History` using the menu in the top right of the assistant panel and choosing `History`.