docs: align my tool context window examples

This commit is contained in:
Xubin Ren
2026-06-22 18:33:49 +08:00
parent 0db9fbe250
commit 6efef2700a
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ always: true
| Situation | Command |
|-----------|---------|
| Large codebase analysis | `my(action="set", key="context_window_tokens", value=131072)` |
| Large codebase analysis | `my(action="set", key="context_window_tokens", value=262144)` |
| Switch to a named model preset | `my(action="set", key="model_preset", value="<preset-name>")` |
| Repetitive simple tasks without a preset | `my(action="set", key="model", value="<fast-model>")` |
| Long multi-step task | `my(action="set", key="max_iterations", value=80)` |
+2 -2
View File
@@ -34,8 +34,8 @@ Concrete scenarios showing when and how to use the my tool effectively.
```
→ my(action="check")
→ context_window_tokens: 200000
→ my(action="set", key="context_window_tokens", value=131072)
→ "Set context_window_tokens = 131072 (was 200000)"
→ my(action="set", key="context_window_tokens", value=262144)
→ "Set context_window_tokens = 262144 (was 200000)"
→ "I've expanded my context window to handle this large codebase."
```