docs: document Pipeline.stream(), ChatPromptBuilder insert tag, and Toolset run-scoped copies#11871
Draft
julian-risch wants to merge 1 commit into
Draft
docs: document Pipeline.stream(), ChatPromptBuilder insert tag, and Toolset run-scoped copies#11871julian-risch wants to merge 1 commit into
julian-risch wants to merge 1 commit into
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
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 #11564Proposed Changes:
AsyncPipeline.streamfor chunk-by-chunk consumption #11258 —AsyncPipelinedocs: new "Streaming (stream)" execution method section 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. Note: the example usesPipeline, matching the v3 merge ofAsyncPipelineintoPipeline; the rest of the (stale) page is left for the MIGRATION.md-driven docs pass, which issue Introduce Preprocessor class that does splitting and cleaning #381 explicitly does not track.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.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, which still advised callingclear()between runs — discovered tools no longer persist acrossAgentruns.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