@ai-sdk/provider
Advanced tools
+6
-0
| # @ai-sdk/provider | ||
| ## 4.0.8 | ||
| ### Patch Changes | ||
| - 591d25b: feat: add batch completion webhooks. `experimental_startTextBatch` accepts a `webhookUrl`, and the gateway provider registers it through the batch `callbackUrl` contract and exports typed async-job metadata. Direct Anthropic and OpenAI batch providers return an unsupported warning when the option is provided. | ||
| ## 4.0.7 | ||
@@ -4,0 +10,0 @@ |
+3
-3
| { | ||
| "name": "@ai-sdk/provider", | ||
| "version": "4.0.7", | ||
| "version": "4.0.8", | ||
| "type": "module", | ||
@@ -34,5 +34,5 @@ "license": "Apache-2.0", | ||
| "@types/node": "22.19.19", | ||
| "@vercel/ai-tsconfig": "0.0.0", | ||
| "tsup": "^8.5.1", | ||
| "typescript": "5.8.3", | ||
| "@vercel/ai-tsconfig": "0.0.0" | ||
| "typescript": "5.8.3" | ||
| }, | ||
@@ -39,0 +39,0 @@ "engines": { |
@@ -43,2 +43,9 @@ import type { | ||
| readonly headers?: Record<string, string | undefined>; | ||
| /** | ||
| * URL the provider notifies when the batch reaches a terminal state. | ||
| * Providers that do not support completion webhooks should return an | ||
| * unsupported warning. | ||
| */ | ||
| readonly webhookUrl?: string; | ||
| }; | ||
@@ -45,0 +52,0 @@ |
Sorry, the diff of this file is too big to display
622492
0.13%17289
0.07%