feat(agent): add provider options passthrough, tool call records, and completion validation retries

This commit is contained in:
2026-05-07 10:26:45 +00:00
parent 0dde716109
commit b08cb3689e
10 changed files with 901 additions and 603 deletions
+9
View File
@@ -1,5 +1,14 @@
# Changelog
## 2026-05-07 - 3.1.0 - feat(agent)
add provider options passthrough, tool call records, and completion validation retries
- forward provider-specific options to the underlying streamText call
- return structured tool call records with inputs, outputs, and errors in agent results
- support validateCompletion with reprompting and configurable validation retry limits
- export ProviderOptions and tool call record types for consumers
- update tests and documentation for the new agent run options and result fields
## 2026-04-30 - 3.0.3 - fix(build)
tighten TypeScript configuration and update dependencies for zod v4 compatibility