diff --git a/docs/features/shell-integration.mdx b/docs/features/shell-integration.mdx index 7752e17a..75ec2928 100644 --- a/docs/features/shell-integration.mdx +++ b/docs/features/shell-integration.mdx @@ -426,7 +426,7 @@ This setup works reliably on Windows systems using Cygwin, Fish, and the Starshi **Issue**: Commands that span multiple lines can confuse Roo and may show output from previous commands mixed in with current output. -**Workaround**: Instead of multi-line commands, use command chaining with `&&` to keep everything on one line (e.g., `echo a && echo b` instead of typing each command on a separate line). +**Workaround**: Instead of multi-line commands, use command chaining with `&&` to keep everything on one line (e.g., `echo a && echo b` instead of typing each command on a separate line). #### PowerShell-Specific Issues diff --git a/docs/providers/ollama.md b/docs/providers/ollama.md index 131fae45..aae80823 100644 --- a/docs/providers/ollama.md +++ b/docs/providers/ollama.md @@ -135,20 +135,20 @@ If no model instance is running, Ollama spins one up on demand. During that cold **Fixes** 1. **Preload the model** ```bash - ollama run <model-name> + ollama run ``` Keep it running, then issue the request from Roo. 2. **Pin the context window (`num_ctx`)** - Option A — interactive session, then save: ```bash - # inside `ollama run <base-model>` + # inside `ollama run ` /set parameter num_ctx 32768 - /save <your_model_name> + /save ``` - Option B — Modelfile (recommended for reproducibility): ```dockerfile - FROM <base-model> + FROM PARAMETER num_ctx 32768 # Adjust based on your available memory: # 16384 for ~8GB VRAM @@ -157,7 +157,7 @@ If no model instance is running, Ollama spins one up on demand. During that cold ``` Then create the model: ```bash - ollama create <your_model_name> -f Modelfile + ollama create -f Modelfile ``` 3. **Ensure the model's context window is pinned** @@ -169,7 +169,7 @@ If no model instance is running, Ollama spins one up on demand. During that cold 5. **Restart after an OOM** ```bash ollama ps - ollama stop <model-name> + ollama stop ``` **Quick checklist**