Skip to content

[skills] Sync vercel-functions with current docs - #474

Open
vercel-gh-bot-3[bot] wants to merge 1 commit into
mainfrom
eve-drift/vercel-functions
Open

vercel-gh-bot-3[bot] wants to merge 1 commit into
mainfrom
eve-drift/vercel-functions

Conversation

@vercel-gh-bot-3

Copy link
Copy Markdown
Contributor
  • Request body size: the skill called 4.5 MB a fixed cap on request and response bodies ("The request or response body of a Function is capped at 4.5 MB", the plan table row | Request/response body | 4.5 MB | 4.5 MB | 4.5 MB |, pitfall 6, and the 413 diagnostics line). knowledge-update said the same: "Vercel Function request and response bodies are limited to 4.5 MB." 4.5 MB is now only the default. Request bodies up to 20 MiB are in Public Beta on Node.js, Python, and Bun, not on Edge. To turn it on: enable Fluid Compute, set function memory to Performance (4 GB, Pro/Enterprise), set VERCEL_SUPPORT_LARGE_REQUEST_BODY=1, and redeploy. With it on, Routing Middleware gets headers but no body. Responses stay at 4.5 MB unless streamed.
    • Source: https://vercel.com/docs/functions/limitations (last_updated 2026-08-24; the 20 MiB section went live with the 2026-11-20 changelog): "Request bodies up to 20 MiB are available in Public Beta for the Node.js, Python, and Bun runtimes." The page also says "Set your project's function memory to Performance (4 GB), available on Pro and Enterprise plans." and "Set VERCEL_SUPPORT_LARGE_REQUEST_BODY=1 in your project's environment variables".
    • Changelog: https://vercel.com/changelog/vercel-functions-now-support-request-bodies-up-to-20mib (2026-11-20): "Vercel Functions now accept inbound request bodies up to 20MiB, up from 4.5MB, in Public Beta."
    • Edited: skills/vercel-functions/SKILL.md (payload section, plan table, pitfall 6, 413 diagnostics) and skills/knowledge-update/SKILL.md (the body-limit bullet, which keeps its source URL; heading date bumped from 2026-10-29 to 2026-11-20). agents/deployment-expert.md is rebuilt from the skill's diagnostics section.

Verification

run_plugin_checks passed every step: build, typecheck, validate, and test (1364 pass, 0 fail).

Test updates

None. tests/inject-claude-md.test.ts checks that knowledge-update still contains 4.5 MB and doesn't say 100 MB. Both still hold.

Same fact elsewhere (not changed)

  • skills/vercel-functions/SKILL.md frontmatter summary ("Request/response bodies cap at 4.5 MB."): the frontmatter has to stay byte-identical. The sentence is still true for the default.

Not changed

  • Container quick start still says to create Dockerfile.vercel. The container runtime page now also says "A root Dockerfile or Containerfile is enough when Vercel detects no other framework", and it labels Container Runtime as Beta. Dockerfile.vercel still works, so I left the wording alone.

Opened automatically by the vercel-plugin drift agent. Review before merge.

<!-- vercel-plugin-drift-agent -->

This branch has not been deployed

No deployments
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.

0 participants