docs: document Pipeline.stream(), remove the AsyncPipeline page, ChatPromptBuilder insert tag, and Toolset run-scoped copies - #11871
Merged
Conversation
…oolset run-scoped copies with name-based selection Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jul 5, 2026
…am() docs on Pipelines page AsyncPipeline no longer exists in 3.0 (merged into Pipeline). The 2.x page lives on in versioned_docs; the current docs now cover run_async, run_async_generator, and stream() in the Pipelines concepts page, with a client redirect from /docs/asyncpipeline. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ted async docs Takes over the pipelines.mdx additions from #11870 so the two PRs no longer touch the same file. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
julian-risch
added a commit
that referenced
this pull request
Jul 8, 2026
All pipelines.mdx edits are consolidated in #11871 to avoid cross-PR conflicts; this PR now only adds the Sync and Async Callbacks section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
4 tasks
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…dates-2 # Conflicts: # docs-website/docs/concepts/pipelines/asyncpipeline.mdx
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Contributor
|
Removed two mentions of "AsyncPipeline" on docs-website/docs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
AsyncPipeline.streamfor chunk-by-chunk consumption #11258ChatPromptBuilderwithinserttag #11486SearchableToolsetwithAgentwhen selecting a subset of tools to be active #11564AsyncPipelinecancel inflight tasks if aPipelineRuntimeErroris raised by another component #11499Proposed Changes:
AsyncPipeline page removal + feat: expose
AsyncPipeline.streamfor chunk-by-chunk consumption #11258 + fix: InAsyncPipelinecancel inflight tasks if aPipelineRuntimeErroris raised by another component #11499 —AsyncPipelinewas merged intoPipelinein 3.0, so the AsyncPipeline concepts page is removed from the current docs (the 2.x copies live on underversioned_docs/). Its still-relevant content is consolidated into a rewritten "Async Execution and Streaming" section on the Pipelines concepts page:concurrency_limitinit parameter,run_async,run_async_generator, and the newstream()with a runnable example — iterate the returned handle withasync forto consumeStreamingChunks, read the final output fromhandle.result, restrict sources viastreaming_components, and control abandonment behavior withcancel_on_abandon,run_async_generatoriteration is abandoned, or when the run is cancelled — plus the caveat that sync components offloaded to a worker thread run to completion with their outputs discarded.The sidebar entry is removed and a client redirect from
/docs/asyncpipelineto/docs/pipelinesis added. No references toAsyncPipelineremain in the current docs.feat: Extend
ChatPromptBuilderwithinserttag #11486 —ChatPromptBuilderdocs: new "TheinsertTag" subsection under String Templates, documenting{% insert %}with a runnable example, expression/slice/index support, lossless round-tripping of all content types, and multiple-tag usage.fix: Fix usage of
SearchableToolsetwithAgentwhen selecting a subset of tools to be active #11564 —Toolsetdocs: new "Run-Scoped Copies and Tool Selection" section coveringspawn()andget_selectable_tools(), per-run isolation (concurrent runs sharing aToolsetare safe), and runtime name-based selection viaAgent.run(tools=[...])keeping toolsets live. Also updated theSearchableToolset"Reusing the toolset across multiple agent runs" section: discovered tools no longer persist acrossAgentruns andclear()between runs is not necessary.How did you test it?
Notes for the reviewer
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:and added!in case the PR includes breaking changes.🤖 Generated with Claude Code