docs: align my tool context window examples
This commit is contained in:
+3
-3
@@ -38,7 +38,7 @@ Without parameters, returns a key config overview:
|
||||
```text
|
||||
my(action="check")
|
||||
# → max_iterations: 40
|
||||
# context_window_tokens: 65536
|
||||
# context_window_tokens: 200000
|
||||
# model: 'anthropic/claude-sonnet-4-20250514'
|
||||
# workspace: PosixPath('/tmp/workspace')
|
||||
# provider_retry_mode: 'standard'
|
||||
@@ -89,7 +89,7 @@ my(action="set", key="model_preset", value="fast")
|
||||
my(action="set", key="model", value="fast-model")
|
||||
# → Switch to a raw model and clear the active preset
|
||||
|
||||
my(action="set", key="context_window_tokens", value=131072)
|
||||
my(action="set", key="context_window_tokens", value=262144)
|
||||
# → Expand context window for long documents
|
||||
```
|
||||
|
||||
@@ -123,7 +123,7 @@ Other parameters (e.g. `workspace`, `provider_retry_mode`, `max_tool_result_char
|
||||
|
||||
```text
|
||||
Agent: This codebase is large, let me expand my context window to handle it.
|
||||
→ my(action="set", key="context_window_tokens", value=131072)
|
||||
→ my(action="set", key="context_window_tokens", value=262144)
|
||||
```
|
||||
|
||||
### "Simple question, don't waste compute"
|
||||
|
||||
Reference in New Issue
Block a user