@ai-sdk/openai 3.0.0-beta.71 → 3.0.0-beta.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/index.d.mts +4 -20
- package/dist/index.d.ts +4 -20
- package/dist/index.js +90 -91
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +98 -98
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +3 -3
- package/dist/internal/index.d.ts +3 -3
- package/dist/internal/index.js +255 -240
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +270 -254
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -229,7 +229,7 @@ type CodeInterpreterArgs = {
|
|
|
229
229
|
fileIds?: string[];
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
|
-
declare const codeInterpreterToolFactory: _ai_sdk_provider_utils.
|
|
232
|
+
declare const codeInterpreterToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
|
|
233
233
|
/**
|
|
234
234
|
* The code to run, or null if not available.
|
|
235
235
|
*/
|
|
@@ -336,7 +336,7 @@ declare const fileSearchOutputSchema: _ai_sdk_provider_utils.LazySchema<{
|
|
|
336
336
|
text: string;
|
|
337
337
|
}[] | null;
|
|
338
338
|
}>;
|
|
339
|
-
declare const fileSearch: _ai_sdk_provider_utils.
|
|
339
|
+
declare const fileSearch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{}, {
|
|
340
340
|
/**
|
|
341
341
|
* The search query to execute.
|
|
342
342
|
*/
|
|
@@ -492,7 +492,7 @@ declare const webSearchPreviewArgsSchema: _ai_sdk_provider_utils.LazySchema<{
|
|
|
492
492
|
} | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
declare const webSearchPreviewInputSchema: _ai_sdk_provider_utils.LazySchema<Record<string, never>>;
|
|
495
|
-
declare const webSearchPreview: _ai_sdk_provider_utils.
|
|
495
|
+
declare const webSearchPreview: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{}, {
|
|
496
496
|
/**
|
|
497
497
|
* An object describing the specific action taken in this web search call.
|
|
498
498
|
* Includes details on how the model used the web (search, open_page, find).
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -229,7 +229,7 @@ type CodeInterpreterArgs = {
|
|
|
229
229
|
fileIds?: string[];
|
|
230
230
|
};
|
|
231
231
|
};
|
|
232
|
-
declare const codeInterpreterToolFactory: _ai_sdk_provider_utils.
|
|
232
|
+
declare const codeInterpreterToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
|
|
233
233
|
/**
|
|
234
234
|
* The code to run, or null if not available.
|
|
235
235
|
*/
|
|
@@ -336,7 +336,7 @@ declare const fileSearchOutputSchema: _ai_sdk_provider_utils.LazySchema<{
|
|
|
336
336
|
text: string;
|
|
337
337
|
}[] | null;
|
|
338
338
|
}>;
|
|
339
|
-
declare const fileSearch: _ai_sdk_provider_utils.
|
|
339
|
+
declare const fileSearch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{}, {
|
|
340
340
|
/**
|
|
341
341
|
* The search query to execute.
|
|
342
342
|
*/
|
|
@@ -492,7 +492,7 @@ declare const webSearchPreviewArgsSchema: _ai_sdk_provider_utils.LazySchema<{
|
|
|
492
492
|
} | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
declare const webSearchPreviewInputSchema: _ai_sdk_provider_utils.LazySchema<Record<string, never>>;
|
|
495
|
-
declare const webSearchPreview: _ai_sdk_provider_utils.
|
|
495
|
+
declare const webSearchPreview: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{}, {
|
|
496
496
|
/**
|
|
497
497
|
* An object describing the specific action taken in this web search call.
|
|
498
498
|
* Includes details on how the model used the web (search, open_page, find).
|