Skip to content

Document configurable Auto classifier timeout for Deep Agents Code - #5295

Merged
Mason Daugherty (mdrxy) merged 15 commits into
mainfrom
docs/auto-classifier-timeout-v2
Aug 4, 2026
Merged

Document configurable Auto classifier timeout for Deep Agents Code#5295
Mason Daugherty (mdrxy) merged 15 commits into
mainfrom
docs/auto-classifier-timeout-v2

Conversation

@langsmith-fleet

Copy link
Copy Markdown
Contributor

Fixes DOC-1486

Rebases on top of #5271 (selectable classifier model docs) per review feedback. Set base to docs/auto-classifier-model once #5271 merges, or retarget this PR to that branch.

Summary

  • config-file.mdx — new Auto classifier timeout section after "Startup approval mode", with config.toml and env var tabs. Recommends switching to a faster classifier model (via [models].auto_classifier) before raising the deadline.
  • configuration.mdx — new DEEPAGENTS_CODE_AUTO_CLASSIFIER_TIMEOUT env var entry in the reference table, with a note to prefer changing the classifier model first.

Links

Verification

  • make lint_prose run; one pre-existing LangChain.DashesSpaces error in config-file.mdx (the ModelProfile line) exists on the base branch and is not introduced by this PR.

Reviewers

Requested review from: Mason Daugherty (@mdrxy), Naomi Pentrel (@npentrel)

Add docs for the new --auto-classifier-model flag and related
configuration options introduced in deepagents#5205.

- approval-modes.mdx: new 'Select a classifier model' section under
  'How Auto works', covering all four config sources (TUI, flag,
  env var, config.toml), fail-closed error behavior, and the
  prompt-injection security tradeoff
- cli-reference.mdx: add --auto-classifier-model to the flag table
- config-file.mdx: document [models].auto_classifier key with a link
  to the full precedence description in approval-modes

Fixes DOC-1474
Remove spaces around em dashes on two lines that Vale flagged
as LangChain.DashesSpaces errors.
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
- TUI command tab: lead with /auto model interactive picker as the
  happy path; direct provider:model spec is still shown but secondary
- Remove spec-validation note from TUI tab
- Remove 'errors in non-interactive and ACP modes' from CLI flag tab
- Remove project .env security rationale from Warning
- Remove fail-closed on errors paragraph
- Switch example model to openai:gpt-5.6-luna throughout
@github-actions github-actions Bot added external User is not a member of langchain-ai deepagents For docs changes to Deep Agents oss labels Aug 4, 2026
@mdrxy
Mason Daugherty (mdrxy) marked this pull request as ready for review August 4, 2026 18:37
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-docsau-1785869675-f3bf36c

Site preview: https://langchain-5e9cc07a-preview-docsau-1785869675-f3bf36c.mintlify.site

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

@mdrxy
Mason Daugherty (mdrxy) merged commit 86c1487 into main Aug 4, 2026
25 checks passed
@mdrxy
Mason Daugherty (mdrxy) deleted the docs/auto-classifier-timeout-v2 branch August 4, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents external User is not a member of langchain-ai oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants