Repository navigation
[Prerelease] Version Packages (next) - #1451
voltagent-bot wants to merge 1 commit into
Conversation
Deploying voltagent with
|
| Latest commit: |
4df2573
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://35dd45fd.voltagent.pages.dev |
| Branch Preview URL: | https://changeset-release-next.voltagent.pages.dev |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
1 issue found across 92 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="packages/core/CHANGELOG.md">
<violation number="1" location="packages/core/CHANGELOG.md:9">
P3: This release note ends with an unfinished editorial instruction. Remove it or replace it with the actual migration guidance.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
|
|
||
| - [#1378](https://github.com/VoltAgent/voltagent/pull/1378) [`783491f`](https://github.com/VoltAgent/voltagent/commit/783491fae2393d9445c0d66d4b16fb31fad97e79) Thanks [@omeraplak](https://github.com/omeraplak)! - Retry and fall back at the individual provider-call boundary, preserving completed tool executions, step results, and memory records. Keep ordered model lists, per-model/call retry settings, retry/fallback hooks, and tracing. Stream failures before the current step emits content can recover even after earlier steps completed; failures after content starts are surfaced without replay. | ||
|
|
||
| Backoff honors cancellation and SDK step/total timeouts. Retry counts must be non-negative integers. Explicit prepareStep model selections receive retries without falling through to the agent model list. Structured-output/parsing failures outside provider execution no longer restart the generation; explicit middleware retries retain their full-pipeline behavior. Document these migration differences. |
There was a problem hiding this comment.
P3: This release note ends with an unfinished editorial instruction. Remove it or replace it with the actual migration guidance.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At packages/core/CHANGELOG.md, line 9:
<comment>This release note ends with an unfinished editorial instruction. Remove it or replace it with the actual migration guidance.</comment>
<file context>
@@ -1,5 +1,39 @@
+
+- [#1378](https://github.com/VoltAgent/voltagent/pull/1378) [`783491f`](https://github.com/VoltAgent/voltagent/commit/783491fae2393d9445c0d66d4b16fb31fad97e79) Thanks [@omeraplak](https://github.com/omeraplak)! - Retry and fall back at the individual provider-call boundary, preserving completed tool executions, step results, and memory records. Keep ordered model lists, per-model/call retry settings, retry/fallback hooks, and tracing. Stream failures before the current step emits content can recover even after earlier steps completed; failures after content starts are surfaced without replay.
+
+ Backoff honors cancellation and SDK step/total timeouts. Retry counts must be non-negative integers. Explicit prepareStep model selections receive retries without falling through to the agent model list. Structured-output/parsing failures outside provider execution no longer restart the generation; explicit middleware retries retain their full-pipeline behavior. Document these migration differences.
+
+- [#1378](https://github.com/VoltAgent/voltagent/pull/1378) [`783491f`](https://github.com/VoltAgent/voltagent/commit/783491fae2393d9445c0d66d4b16fb31fad97e79) Thanks [@omeraplak](https://github.com/omeraplak)! - Support per-call models through the agent's retry and tracing pipeline and accept native message arrays in `prompt`. A call model replaces the constructor model/fallback list only for that invocation.
</file context>
| Backoff honors cancellation and SDK step/total timeouts. Retry counts must be non-negative integers. Explicit prepareStep model selections receive retries without falling through to the agent model list. Structured-output/parsing failures outside provider execution no longer restart the generation; explicit middleware retries retain their full-pipeline behavior. Document these migration differences. | |
| Backoff honors cancellation and SDK step/total timeouts. Retry counts must be non-negative integers. Explicit prepareStep model selections receive retries without falling through to the agent model list. Structured-output/parsing failures outside provider execution no longer restart the generation; explicit middleware retries retain their full-pipeline behavior. |
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
nextis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonnext.Releases
@voltagent/core@3.0.0-next.2
Minor Changes
#1378
783491fThanks @omeraplak! - Retry and fall back at the individual provider-call boundary, preserving completed tool executions, step results, and memory records. Keep ordered model lists, per-model/call retry settings, retry/fallback hooks, and tracing. Stream failures before the current step emits content can recover even after earlier steps completed; failures after content starts are surfaced without replay.Backoff honors cancellation and SDK step/total timeouts. Retry counts must be non-negative integers. Explicit prepareStep model selections receive retries without falling through to the agent model list. Structured-output/parsing failures outside provider execution no longer restart the generation; explicit middleware retries retain their full-pipeline behavior. Document these migration differences.
#1378
783491fThanks @omeraplak! - Support per-call models through the agent's retry and tracing pipeline and accept native message arrays inprompt. A call model replaces the constructor model/fallback list only for that invocation.Align input checks with AI SDK: reject conflicting prompt/messages and empty message arrays, prefer
instructionsover the deprecatedsystemalias, and requireallowSystemInMessagesfor caller-supplied system messages. Framework instructions remain additive.Derive generate/stream options and callbacks from the corresponding installed SDK method. Stream-only settings are no longer accepted by
generateText; newer SDK features require their supporting SDK version.#1378
783491fThanks @omeraplak! - Preserve the AI SDK streaming result interface, including typed structured output, array elements, metadata, tool aggregates, runtime context, and readable stream methods. Retain VoltAgent context, feedback, guardrails, and subagent events.With output guardrails, structured values wait for the final decision and parse sanitized final-step text. SDK diagnostic records remain unchanged. UI completion callbacks receive the delivered guarded message, and native SDK stream retry callback return values are preserved without ending recovered operations as errors. Native stream retries require an SDK release that supports
streamRetries.#1378
783491fThanks @omeraplak! - Preserve AI SDK execution semantics for native tools: thrown errors becometool-error, and functions returning an AsyncIterable retain preliminary outputs. Keep tracing, guardrails, hooks, approval, and explicit recovery. Native final-output validation now requiresvoltagent.validateOutput: true; legacycreateToolretains automatic validation and serialized errors. Preserve error states in persisted UI messages and history, synchronize routed contexts afterprepareStep, and document migration behavior.Native streaming requires a directly returned AsyncIterable; a Promise resolving to an iterable remains an ordinary SDK output. Move asynchronous setup into an async generator when migrating. VoltAgent start hooks and the parallel guardrail wait finish before the SDK's per-tool timeout begins; long-running hooks need their own deadline and must honor the operation abort signal.
#1378
783491fThanks @omeraplak! - Add optionalcontextSchemavalidation to the existing VoltAgent context API. Infer schema input types for constructor/call context and output types for dynamic instructions, models, tools, inline agent hooks, and generation results. Preserve the Map API, shared parent/per-call Maps, and extra runtime entries.Validate the merged context once before execution, applying defaults and async transforms. Constructor-only defaults are copied per invocation for schema-enabled agents. Invalid context throws
AgentContextValidationErrorand returns HTTP 400 (INVALID_CONTEXT) through server adapters. Agent tools can receive default context throughtoTool({ context }).Patch Changes
#1378
783491fThanks @omeraplak! - KeepgenerateTextoutput consistent with text modified by output middleware or guardrails. Reparse changed text with the requested output specification before successful VoltAgent completion hooks; invalid transformed output rejects without provider retries, fallback, or tool replay. Unchanged text preserves the native parsed value and missing-output behavior. Subagent bail results also include parsed output.Infer default text output as a string and preserve runtime context types in generated steps and the final step. Native SDK callbacks and diagnostic records remain unchanged.
#1378
783491fThanks @omeraplak! - Match AI SDK tool helper overloads so client-side tools can omit both execute and outputSchema, and tools with execute retain a directly callable execute function. Preserve input, output, context, and VoltAgent metadata inference.@voltagent/server-core@3.0.0-next.1
Patch Changes
#1378
783491fThanks @omeraplak! - Add optionalcontextSchemavalidation to the existing VoltAgent context API. Infer schema input types for constructor/call context and output types for dynamic instructions, models, tools, inline agent hooks, and generation results. Preserve the Map API, shared parent/per-call Maps, and extra runtime entries.Validate the merged context once before execution, applying defaults and async transforms. Constructor-only defaults are copied per invocation for schema-enabled agents. Invalid context throws
AgentContextValidationErrorand returns HTTP 400 (INVALID_CONTEXT) through server adapters. Agent tools can receive default context throughtoTool({ context }).Updated dependencies [
783491f,783491f,783491f,783491f,783491f,783491f,783491f]:@voltagent/server-hono@3.0.0-next.1
Patch Changes
#1378
783491fThanks @omeraplak! - Align the Hono dependency range to ^4.9.1 across server adapters and examples.Updated dependencies [
783491f,783491f,783491f,783491f,783491f,783491f,783491f]:@voltagent/serverless-hono@3.0.0-next.1
Patch Changes
#1378
783491fThanks @omeraplak! - Align the Hono dependency range to ^4.9.1 across server adapters and examples.Updated dependencies [
783491f]:Summary by cubic
This is an automated Changesets prerelease for the
nextbranch, bumping@voltagent/coreto 3.0.0-next.2 and the server adapter packages to 3.0.0-next.1. Merging publishes the prereleases to npm automatically.Releases
@voltagent/coreadds provider-call-level retry/fallback, per-call models, AI SDK-aligned tool and stream semantics, optionalcontextSchemavalidation, andgenerateTextoutput consistency; these are behavior changes for prerelease users, with migration notes in the changelog.@voltagent/server-core,@voltagent/server-hono, and@voltagent/serverless-honopick up patch bumps.^4.9.1.Written for commit 4df2573. Summary will update on new commits.