add changelog

This commit is contained in:
Aayush Jain
2026-04-25 02:23:25 +05:30
parent 108e32eb72
commit 65b15a8528

1
changelog/4371.added.md Normal file
View File

@@ -0,0 +1 @@
- Added `tool_resources` to `PipelineTask` and `FunctionCallParams`. Pass an application-defined object (DB handles, clients, state, etc.) to `PipelineTask(..., tool_resources=...)` and access it from any tool handler via `params.tool_resources`. Passed by reference; the caller retains their handle and can read mutations after the task finishes. Resolves #4256.