Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs(cowork): explain quick model controls and context recovery

thinhlpg685869d18ef3
diff --git a/docs/src/pages/docs/desktop/cowork.mdx b/docs/src/pages/docs/desktop/cowork.mdx
index ec783c6f3..3cdd16b97 100644
--- a/docs/src/pages/docs/desktop/cowork.mdx
+++ b/docs/src/pages/docs/desktop/cowork.mdx
@@ -71,6 +71,22 @@ A run is bounded — up to 100 agent steps and 200,000 tokens per request — so
stuck task can't spin forever. When the cap is hit, the agent reports where
things stand and you can continue it with another message.
+## Quick model controls
+
+For a supported local model, open **Model controls** in the composer to increase
+the context window without leaving Cowork. Jan reads the model's context limit
+from its local metadata and caps the increase at that limit.
+
+For llama.cpp models, the same menu offers **Fit model to device memory**.
+Changes apply before the control finishes saving and affect the next request.
+Larger context windows can require more memory.
+
+When a run exceeds its context window, **Increase Context Size** applies the
+increase and resumes the committed history, including completed tool work.
+Switching sessions or models while the change is saving cancels the automatic
+retry. Unsupported limits and failed changes provide an action to open the
+relevant provider settings.
+
## Plan mode
Toggle **Plan mode** (or type `/plan`) when you want Jan to propose before it