docs(docker-agent): update TUI docs and add model providers/config fields#25478
docs(docker-agent): update TUI docs and add model providers/config fields#25478aheritier wants to merge 2 commits into
Conversation
❌ Deploy Preview for docsdocker failed. Why did it fail? →
|
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
The changes correctly add documentation for twelve new model provider aliases and three new configuration fields (compaction_model, bypass_models_gateway, and tags). No vendored files were touched, no redirects are needed, and no style guide violations (hedge words, AI-isms, marketing language) were found in the new content. The compaction_model NOTE callout is logically consistent and accurate.
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
The added documentation for compaction_model, bypass_models_gateway, version, and tags is well-structured, accurate, and proportionate in scope. Three minor style issues were found — all low severity and non-blocking.
|
|
||
| > [!NOTE] | ||
| > If the compaction model has a smaller context window than the primary model, | ||
| > Docker Agent triggers compaction against the smaller window, so the summary |
There was a problem hiding this comment.
[LOW] NOTE callout may confuse readers about compaction behavior
The NOTE describes two scenarios without clearly distinguishing them:
- "If the compaction model has a smaller context window … Docker Agent triggers compaction against the smaller window, so the summary call can always ingest the full conversation." (Describing behavior when a smaller-window model is used — compaction fires early based on the smaller window, so it works.)
- "Pair the primary with a compaction model whose context window is at least as large to keep the proactive trigger aligned with the primary's window." (Recommending against using a smaller-window model.)
The two sentences describe conflicting scenarios without framing one as "here is what happens" and the other as "and here is why you should avoid it." Consider restructuring:
If the compaction model has a smaller context window than the primary model, Docker Agent uses that smaller window to trigger compaction proactively — the summary call can still ingest the full conversation, but compaction fires earlier than expected. Use a compaction model whose context window is at least as large as the primary's to keep the trigger aligned with the primary's window.
| own model to summarize the conversation. That summary call ingests the entire | ||
| conversation and is the slowest, most expensive call in a session. | ||
|
|
||
| You can point `compaction_model` at a smaller, faster model to make compaction |
There was a problem hiding this comment.
[LOW] Informal phrasing "point compaction_model at" — prefer "set compaction_model to"
"You can point compaction_model at a smaller, faster model" uses the informal idiom "point X at Y". The Docker style guide prefers direct, precise language. Consider:
Set
compaction_modelto a smaller, faster model to reduce compaction cost without changing the model that runs the conversation:
| instruction: You are a helpful assistant. | ||
| ``` | ||
|
|
||
| A bypassed model authenticates with its own provider credentials |
There was a problem hiding this comment.
[LOW] Parentheses in prose — consider restructuring
The Docker style guide recommends avoiding parentheses in technical documentation as they reduce readability. The current sentence:
A bypassed model authenticates with its own provider credentials (
OPENAI_API_KEY,ANTHROPIC_API_KEY, or the explicittoken_key) rather than the gateway's token.
Could be rewritten without parentheses:
A bypassed model authenticates directly with its provider using
OPENAI_API_KEY,ANTHROPIC_API_KEY, or the explicittoken_key— not the gateway's token.
|
Since #25480, The content of this PR is already covered upstream:
The pages will appear on docs.docker.com with the next version-pin bump ( |
…76,3384,3385,3337,3389 - add new model providers Add documentation for twelve new built-in provider aliases: Baseten, Cerebras, Cloudflare AI Gateway, Cloudflare Workers AI, DeepSeek, Fireworks AI, Groq, Moonshot AI, OpenRouter, OVHcloud, Together AI, Vercel. Also add compaction_model and bypass_models_gateway model config fields, and tags metadata field.
Document the new TUI agent delegation feedback UI: - Transfer box: animated sidebar box during transfer_task delegation - Return box: reverse-direction animation when control returns to parent - Chat transition: non-persisted return transition line in message stream
0e76bf0 to
0c8afc5
Compare
Syncs Docker Agent documentation with changes merged into docker/docker-agent main.
TUI — Agent Delegation Feedback (docker/docker-agent#3611)
Documents the new visual feedback shown during
transfer_taskdelegations:[child] returned control to [parent]lineFile:
_vendor/github.com/docker/docker-agent/docs/features/tui/index.mdModel providers and config fields (docker/docker-agent#3341, #3343, #3358, #3361, #3368, #3369, #3376, #3384, #3385, #3337, #3389, #3335, #3338, #3390)
content/manuals/ai/docker-agent/model-providers.md: documents twelve new provider aliases (Baseten, Cerebras, Cloudflare AI Gateway, Cloudflare Workers AI, DeepSeek, Fireworks AI, Groq, Moonshot AI, OpenRouter, OVHcloud, Together AI, Vercel)content/manuals/ai/docker-agent/reference/config.md: documentscompaction_model,bypass_models_gateway, andtagsfields