Skip to content

Commit a0cd4b3

Browse files
authored
Merge pull request #2020 from dgageot/board/our-documentations-docs-used-to-be-full-0fb55b46
docs: fix hallucinated CLI flags, commands, and config formats
2 parents 51ac74c + f3daa04 commit a0cd4b3

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

docs/community/contributing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ _docker-agent is open source. Here's how to set up your development environment
1212

1313
### Prerequisites
1414

15-
- [Go 1.25](https://go.dev/dl/) or higher
15+
- [Go 1.26](https://go.dev/dl/) or higher
1616
- API key(s) for your chosen AI provider
1717
- [Task 3.44](https://taskfile.dev/installation/) or higher
1818
- [golangci-lint](https://golangci-lint.run/docs/welcome/install/#binaries)

docs/features/cli/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ $ docker agent run [config] [message...] [flags]
3232
| `--model <ref>` | Override model(s). Use `provider/model` for all agents, or `agent=provider/model` for specific agents. Comma-separate multiple overrides. |
3333
| `--session <id>` | Resume a previous session. Supports relative refs (`-1` = last, `-2` = second to last) |
3434
| `--prompt-file <path>` | Include file contents as additional system context (repeatable) |
35-
| `-c <name>` | Run a named command from the YAML config |
3635
| `-d, --debug` | Enable debug logging |
3736
| `--log-file <path>` | Custom debug log location |
3837
| `-o, --otel` | Enable OpenTelemetry tracing |
@@ -45,7 +44,6 @@ $ docker agent run agent.yaml -a developer --yolo
4544
$ docker agent run agent.yaml --model anthropic/claude-sonnet-4-0
4645
$ docker agent run agent.yaml --model "dev=openai/gpt-4o,reviewer=anthropic/claude-sonnet-4-0"
4746
$ docker agent run agent.yaml --session -1 # resume last session
48-
$ docker agent run agent.yaml -c df # run named command
4947
$ docker agent run agent.yaml --prompt-file ./context.md # include file as context
5048

5149
# Queue multiple messages (processed in sequence)
@@ -80,7 +78,7 @@ $ docker agent new [flags]
8078

8179
# Examples
8280
$ docker agent new
83-
$ docker agent new --model openai/gpt-5-mini --max-tokens 32000
81+
$ docker agent new --model openai/gpt-5-mini
8482
$ docker agent new --model dmr/ai/gemma3-qat:12B --max-iterations 15
8583
```
8684

docs/getting-started/quickstart/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ $ docker agent new
4242
# Or specify options directly
4343
$ docker agent new --model openai/gpt-4o
4444

45-
# Override context size and iteration limits
46-
$ docker agent new --model dmr/ai/gemma3-qat:12B --max-tokens 32000 --max-iterations 15
45+
# Override iteration limits
46+
$ docker agent new --model dmr/ai/gemma3-qat:12B --max-iterations 15
4747
```
4848

4949
This generates an `agent.yaml` in the current directory. Then run it:

docs/guides/tips/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ Understand the difference between `sub_agents` and `handoffs`:
266266
<h3>handoffs (A2A)</h3>
267267
<p>Transfers control entirely to another agent (possibly remote). One-way handoff.</p>
268268
<pre style="margin-top:12px"><code class="language-yaml">handoffs:
269-
- name: specialist
270-
url: http://...</code></pre>
269+
- specialist
270+
- namespace/remote-agent</code></pre>
271271
</div>
272272
</div>
273273

@@ -320,10 +320,10 @@ $ docker agent run agent.yaml --debug --log-file ./debug.log
320320

321321
### Check Token Usage
322322

323-
Use the `/usage` command during a session to see token consumption:
323+
Use the `/cost` command during a session to see token consumption:
324324

325325
```text
326-
/usage
326+
/cost
327327
328328
Token Usage:
329329
Input: 12,456 tokens

0 commit comments

Comments
 (0)