github VoltAgent/voltagent @voltagent/core@2.6.4

latest releases: @voltagent/core@2.7.7, @voltagent/server-core@2.1.18, @voltagent/serverless-hono@2.0.12...
3 months ago

Patch Changes

  • #1131 9a3ff6b Thanks @omeraplak! - fix(core): persist reasoning and tool parts across step checkpoint flushes (#1130)

    When conversationPersistence.mode = "step" was used with tool calls, some checkpoint flows could
    persist incomplete assistant messages and lose non-text parts in stored conversation history.

    This update preserves complete assistant message parts during checkpoint merges and persistence
    flushes, including reasoning, tool-call, tool-result, and text parts.

    Regression coverage is expanded with end-to-end agent persistence tests against both LibSQL and
    PostgreSQL backends to reduce the chance of similar regressions.

  • #1123 13f4f40 Thanks @omeraplak! - fix: prevent duplicate assistant message persistence during step checkpoints (#1121)

    When conversationPersistence.mode = "step" flushed around tool results, the same assistant
    response could be persisted multiple times with different message_id values. This created
    duplicate assistant rows in memory and could surface downstream provider errors like duplicate
    OpenAI reasoning item ids.

    This update keeps a stable assistant response message id across step checkpoints and skips duplicate
    step response payloads before buffering, so intermediate checkpoint flushes update the same memory
    message instead of inserting new duplicates.

Don't miss a new voltagent release

NewReleases is sending notifications on new releases.