Repository navigation
docs(www): fix outdated V2 docs - #58280
Conversation
There was a problem hiding this comment.
Docs-only change. I checked each claim against the source on dev and found no mistakes:
- Attachments: PDFs are passed to the model as files.
- Compaction: the compaction agent's model is used for summaries, falling back to the session's model when it can't be resolved; native compaction always uses the session's model.
- Migrate from V1: agent
request.bodyis only merged in config and never sent to the model. Model variants acceptbody. - Plugins: a configured local file path is skipped with a warning ("configured plugin path must be a directory").
- Providers: the default chunk timeout is 900 000 ms (15 minutes).
- CLI config:
cli.jsonis decoded as a whole, so one invalid value drops the entire file. - CLI and keybinds: every new flag and keybind ID exists with the stated default.
The public API is unchanged; this only documents existing behaviour.
One thing to keep in mind: the request.body note in migrate-v1.mdx will need updating if #55051 (which applies agent request body and headers) lands. Some open docs PRs overlap in part (#54711 for keybinds, #57125 for ignored unknown cli.json keys, #57622 for --completions), so whichever merges second may need a small rebase.
b441b64 to
490311b
Compare
There was a problem hiding this comment.
The new commit is still docs-only and matches the source. My earlier review raised no concerns, so there was nothing to address. I checked the new and reworded parts against dev:
- Plugins: a configured plugin directory loads
server, thenindex(Host.resolveinpackages/plugin/src/host.ts). - CLI examples: the split-out
run,miniandstatsexamples use real flags with the right defaults. - CLI config: the reworded
cli.jsonnotes match how the file is read. - Links: the new
/agents#requestlinks resolve.
The public API is unchanged. No new concerns.
490311b to
4cc87fa
Compare
There was a problem hiding this comment.
This push only changes the model IDs in three examples. Each new ID is in the bundled models.dev catalog: anthropic/claude-sonnet-5-5, openrouter/anthropic/claude-sonnet-5.5, and deepseek/deepseek-v4-pro. DeepSeek V4 Pro accepts temperature, so the variant example in migrate-v1.mdx still works. The public API is unchanged. No new concerns.
4cc87fa to
f96b0a3
Compare
There was a problem hiding this comment.
This push only changes the variant example in migrate-v1.mdx. opencode/deepseek-v4.1-flash is in the bundled models.dev catalog and accepts temperature, and variants accept a body field, so the config shape is valid. I couldn't check against a live gateway whether the OpenCode endpoint forwards thinking to DeepSeek. The public API is unchanged. No new concerns.
f96b0a3 to
906e947
Compare
Issue for this PR
No linked issue.
Type of change
What does this PR do?
Fixes V2 docs that don't match current behavior.
agents.compaction.model.request.bodyisn't sent to the model. Show model variants instead.auth exportandauth import, a few commonrun,mini, andstatsflags, and 14 missing keybinds.How did you verify your code works?
dev.bun typecheck,bun run check:generated, andbun run buildinservices/www.Screenshots / recordings
N/A, docs only.
Checklist