Skip to content

feat: v0.5.2 - workflow timeout resilience + deployment noise reduction - #14

Merged
LikeDreamwalker merged 1 commit into
mainfrom
feat/v0.5.2-workflow-timeout-fix
Jul 29, 2026
Merged

feat: v0.5.2 - workflow timeout resilience + deployment noise reduction#14
LikeDreamwalker merged 1 commit into
mainfrom
feat/v0.5.2-workflow-timeout-fix

Conversation

@LikeDreamwalker

Copy link
Copy Markdown
Collaborator

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

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>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
previously Building Building Preview, Comment Jul 29, 2026 5:02am

@LikeDreamwalker
LikeDreamwalker merged commit d6570ec into main Jul 29, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant