You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ A [Nushell](https://www.nushell.sh) scriptable [MCP client](https://modelcontext
14
14
***Consistent API Across Models:** Connect to Gemini + Search and Anthropic + Search through a single, simple interface. ([Add providers easily.](docs/reference/provider-api.md))
15
15
***Persistent, Editable Conversations:**[Conversation threads](https://cablehead.github.io/xs/tutorials/threaded-conversations/) are saved across sessions. Review, edit, and control your own context window — no black-box history.
16
16
***Flexible Tool Integration:** Connect to MCP servers to extend functionality. `gpt2099` already rivals [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) for local file editing, but with full provider independence and deeper flexibility.
17
-
***Document Support:** Upload and reference documents (PDFs, images, text files) directly in conversations with automatic content-type detection and caching.
17
+
***Document Support:** Upload and reference documents (PDFs, images, text files) directly in conversations with automatic content-type detection and optional caching.
18
18
19
19
Built on [cross.stream](https://github.com/cablehead/xs) for event-driven processing, `gpt2099` brings modern AI directly into your Nushell workflow — fully scriptable, fully inspectable, all in the terminal.
Documents automatically use ephemeral caching with supported providers (like Anthropic) to improve performance on repeated references. You can control caching with the `--cache` flag:
78
+
Documents can signal to the provider that they should be cached to improve performance on repeated references. Enable caching with the `--cache` flag:
79
79
80
80
```nushell
81
-
gpt document ~/large-file.pdf --cache ephemeral
82
-
gpt document ~/dynamic-data.json --cache none
81
+
gpt document ~/large-file.pdf --cache
82
+
gpt document ~/dynamic-data.json # no caching
83
83
```
84
84
85
+
**Note:** Caching behavior depends on provider support - Anthropic uses ephemeral caching, while other providers may ignore the cache flag.
86
+
85
87
## Thread Management with Documents
86
88
87
89
Documents integrate seamlessly with conversation threading:
0 commit comments