Patch Changes
-
#1191
a21275fThanks @ravyg! - fix(serverless-hono): defer waitUntil cleanup to prevent tool crashes in Cloudflare WorkersThe
finallyblock intoCloudflareWorker(),toVercelEdge(), andtoDeno()was callingcleanup()immediately when the Response was returned, before streaming and tool execution completed. This cleared the global___voltagent_wait_untilwhile tools were still using it, causing crashes with time-consuming tools.Cleanup is now deferred through the platform's own
waitUntil()so it runs only after all pending background work has settled. -
Updated dependencies [
19fa54b]:- @voltagent/server-core@2.1.12