Sign In

ai

Package Overview
Dependencies
Maintainers
5
Versions
1431
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai - npm Package Compare versions

Comparing version
7.0.61
to
7.0.62
+1
-1
package.json
{
"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