+1
-1
| { | ||
| "name": "ai", | ||
| "version": "7.0.61", | ||
| "version": "7.0.62", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.", |
| import type { FetchFunction } from '@ai-sdk/provider-utils'; | ||
| export type CompletionRequestOptions = { | ||
| export type CompletionRequestOptions<BODY extends object = object> = { | ||
| /** | ||
@@ -12,6 +12,6 @@ * An optional object of headers to be passed to the API endpoint. | ||
| */ | ||
| body?: object; | ||
| body?: BODY; | ||
| }; | ||
| export type UseCompletionOptions = { | ||
| export type UseCompletionOptions<BODY extends object = object> = { | ||
| /** | ||
@@ -73,3 +73,3 @@ * The API endpoint that accepts a `{ prompt: string }` object and returns | ||
| */ | ||
| body?: object; | ||
| body?: BODY; | ||
@@ -76,0 +76,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
6679267
0.02%