René's URL Explorer Experiment


Title: fix: reject unsupported batch request types (#20562) · vercel/ai@5ec21a6 · GitHub

Open Graph Title: fix: reject unsupported batch request types (#20562) · vercel/ai@5ec21a6

X Title: fix: reject unsupported batch request types (#20562) · vercel/ai@5ec21a6

Description: The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents - fix: reject unsupported batch request types (#20562) · vercel/ai@5ec21a6

Open Graph Description: ## Background Right now, the only Batch request type is `text`. Both AI SDK Core and provider packages follow that TypeScript type, and assume `type` is *always* `text`. When we extend that `type...

X Description: ## Background Right now, the only Batch request type is `text`. Both AI SDK Core and provider packages follow that TypeScript type, and assume `type` is *always* `text`. When we extend that `type...

Opengraph URL: /vercel/ai/commit/5ec21a6946e13159d3c353c3fcd170ca8564d378

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:8824c0cb-2a5b-f125-1914-b303f6421eca
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idE890:5C598:333E21:460C1A:6AED7B23
html-safe-nonce9e918934cc8d886bd57d77ef5a3af6946fb51ac116367c40fc5c3cfdf2842264
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODkwOjVDNTk4OjMzM0UyMTo0NjBDMUE6NkFFRDdCMjMiLCJ2aXNpdG9yX2lkIjoiNTk1NjExOTUzMjQ0MTI3MTA3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4590db29fbe01f28017e32e4bf2aa6ea6cad318c9b693f54626826fde3ef2bbd
hovercard-subject-tagrepository:644461337
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/vercel/ai/commit/5ec21a6
twitter:imagehttps://opengraph.githubassets.com/25bdc363290d90aecb73264e8913c26e387cc80501f895177d7efc18b41206c5/vercel/ai/commit/5ec21a6946e13159d3c353c3fcd170ca8564d378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/25bdc363290d90aecb73264e8913c26e387cc80501f895177d7efc18b41206c5/vercel/ai/commit/5ec21a6946e13159d3c353c3fcd170ca8564d378
og:image:alt## Background Right now, the only Batch request type is `text`. Both AI SDK Core and provider packages follow that TypeScript type, and assume `type` is *always* `text`. When we extend that `type...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1788992251
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-cache
go-importgithub.com/vercel/ai git https://github.com/vercel/ai.git
octolytics-dimension-user_id14985020
octolytics-dimension-user_loginvercel
octolytics-dimension-repository_id644461337
octolytics-dimension-repository_nwovercel/ai
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id644461337
octolytics-dimension-repository_network_root_nwovercel/ai
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namecommits

Links:

Skip to contenthttps://redirect.github.com/vercel/ai/commit/5ec21a6#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvercel%2Fai%2Fcommit%2F5ec21a6
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvercel%2Fai%2Fcommit%2F5ec21a6
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommit%2Fshow&source=header-repo&source_repo=vercel%2Fai
Reloadhttps://redirect.github.com/vercel/ai/commit/5ec21a6
Reloadhttps://redirect.github.com/vercel/ai/commit/5ec21a6
Reloadhttps://redirect.github.com/vercel/ai/commit/5ec21a6
vercelhttps://redirect.github.com/vercel
aihttps://redirect.github.com/vercel/ai
Codehttps://redirect.github.com/vercel/ai
Issues476 (476)https://redirect.github.com/vercel/ai/issues
Pull requests1k (1k)https://redirect.github.com/vercel/ai/pulls
Actionshttps://redirect.github.com/vercel/ai/actions
Projectshttps://redirect.github.com/vercel/ai/projects
Security and quality6 (6)https://redirect.github.com/vercel/ai/security
Insightshttps://redirect.github.com/vercel/ai/pulse
https://redirect.github.com/vercel/ai
Browse fileshttps://redirect.github.com/vercel/ai/tree/5ec21a6946e13159d3c353c3fcd170ca8564d378
https://redirect.github.com/vercel/ai/tree/5ec21a6946e13159d3c353c3fcd170ca8564d378
https://redirect.github.com/n1ckoates
n1ckoateshttps://redirect.github.com/vercel/ai/commits?author=n1ckoates
#20562https://github.com/vercel/ai/pull/20562
007ccebhttps://redirect.github.com/vercel/ai/commit/007cceb7b9760a8cb97aebc20eacd41ecd6cb4d7
batch-request-type-validation.mdhttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-fb3cd6c92c07f301174c4bbafbfdda4b474cde5e5bdf247c691819295878a1d8
check-bundle-size.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-63efb1294dd0cf159dff6ef281dd2b5fb0702e1c8edcd6b2c520331efc288d60
batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-f0d9d1b0abb13403c9b451179e686c717f3ab6268bb05eb4ea7b0e5ddd100c31
batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-dc6a9e15fe12de6437b2d6b4ca0ec9cd280d8b47e9e6cf7cb0ddf172da51fd44
anthropic-batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-c103ff438cddf1019f9d90d87f07d889613ad8e133a28517785aa72ccbbbd6e7
anthropic-batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-bd75619f2578f36f0ceea1ea17e4217983ea5daef7659526c89af65756288162
gateway-batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-ce60d65dd7f0406cb1bf13047a631ed6cf102a55a655bcb28b4326d6ad499a46
gateway-batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-13ac98f2d030bdda999da0716948660745cb29a2eb1d20e04b0a363cced6b48e
google-batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-61221b9fcd78d2b3085f7be135dede9ad61f632b5ea5a8a1267fe4b8c6906582
google-batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-e528ef752b3f3503b808e483dd159759a75a8f3b3d3e260b6e3f58edb36dd7a1
openai-batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-1f681ad12d774a2789f9a7e622fccbdab94451b00b5ee86843230bade211b258
openai-batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-ce349ff28310fa928221329e5b46c5d383d2e5af6e382361b901a5236a843b1a
xai-batch.test.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-22bddbe7ed51ee0e35fa1a8c0f6901d7407de1a105444b229b6a84368c732733
xai-batch.tshttps://redirect.github.com/vercel/ai/commit/5ec21a6#diff-390e0b755b9b84caf58f7fa40a41b7da10cd8e73bb9f6d3e80aec61aad0dbc01
‎.changeset/batch-request-type-validation.md‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-fb3cd6c92c07f301174c4bbafbfdda4b474cde5e5bdf247c691819295878a1d8
‎packages/ai/scripts/check-bundle-size.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-63efb1294dd0cf159dff6ef281dd2b5fb0702e1c8edcd6b2c520331efc288d60
‎packages/ai/src/batch/batch.test.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-f0d9d1b0abb13403c9b451179e686c717f3ab6268bb05eb4ea7b0e5ddd100c31
‎packages/ai/src/batch/batch.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-dc6a9e15fe12de6437b2d6b4ca0ec9cd280d8b47e9e6cf7cb0ddf172da51fd44
‎packages/anthropic/src/anthropic-batch.test.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-c103ff438cddf1019f9d90d87f07d889613ad8e133a28517785aa72ccbbbd6e7
‎packages/anthropic/src/anthropic-batch.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-bd75619f2578f36f0ceea1ea17e4217983ea5daef7659526c89af65756288162
‎packages/gateway/src/gateway-batch.test.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-ce60d65dd7f0406cb1bf13047a631ed6cf102a55a655bcb28b4326d6ad499a46
‎packages/gateway/src/gateway-batch.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-13ac98f2d030bdda999da0716948660745cb29a2eb1d20e04b0a363cced6b48e
‎packages/google/src/google-batch.test.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-61221b9fcd78d2b3085f7be135dede9ad61f632b5ea5a8a1267fe4b8c6906582
‎packages/google/src/google-batch.ts‎https://redirect.github.com/vercel/ai/commit/5ec21a6#diff-e528ef752b3f3503b808e483dd159759a75a8f3b3d3e260b6e3f58edb36dd7a1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.