feat: v0.5.2 - workflow timeout resilience + deployment noise reduction - #14
Merged
Merged
Conversation
Two fixes targeting Vercel Pro 5-minute step limit and deployment quota: Auto-continue loop: Each LLM call is a single Vercel Workflow step. When a reasoning model generates for over 5 minutes, the step dies with FUNCTION_INVOCATION_TIMEOUT. The fix caps output at 8000 tokens per call and auto-continues when the model hits the limit - the user sees one continuous stream, and each segment stays under 5 minutes. Skip deployments for data-only changes: Added ignoreCommand to vercel.json so pushes that only touch memory/ tasks/ or sessions/ no longer trigger Vercel builds. Code changes (src/) still deploy normally. - agent.ts: expose maxOutputTokens on createChatAgent - turn-workflow.ts: while-loop continuation with safety cap (max 5) - vercel.json: ignoreCommand for agent-writable data directories Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes targeting Vercel Pro 5-minute step limit and deployment quota:
Auto-continue loop: Each LLM call is a single Vercel Workflow step. When a reasoning model generates for over 5 minutes, the step dies with FUNCTION_INVOCATION_TIMEOUT. The fix caps output at 8000 tokens per call and auto-continues when the model hits the limit - the user sees one continuous stream, and each segment stays under 5 minutes.
Skip deployments for data-only changes: Added ignoreCommand to vercel.json so pushes that only touch memory/ tasks/ or sessions/ no longer trigger Vercel builds. Code changes (src/) still deploy normally.