@ai-sdk/openai 2.0.41 → 2.0.42
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 +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internal/index.d.mts +100 -1
- package/dist/internal/index.d.ts +100 -1
- package/dist/internal/index.js +9 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +6 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/internal/index.mjs
CHANGED
|
@@ -2531,6 +2531,9 @@ var imageGenerationToolFactory = createProviderDefinedToolFactoryWithOutputSchem
|
|
|
2531
2531
|
inputSchema: z18.object({}),
|
|
2532
2532
|
outputSchema: imageGenerationOutputSchema
|
|
2533
2533
|
});
|
|
2534
|
+
var imageGeneration = (args = {}) => {
|
|
2535
|
+
return imageGenerationToolFactory(args);
|
|
2536
|
+
};
|
|
2534
2537
|
|
|
2535
2538
|
// src/responses/openai-responses-prepare-tools.ts
|
|
2536
2539
|
function prepareResponsesTools({
|
|
@@ -4042,6 +4045,9 @@ export {
|
|
|
4042
4045
|
fileSearchArgsSchema,
|
|
4043
4046
|
fileSearchOutputSchema,
|
|
4044
4047
|
hasDefaultResponseFormat,
|
|
4048
|
+
imageGeneration,
|
|
4049
|
+
imageGenerationArgsSchema,
|
|
4050
|
+
imageGenerationOutputSchema,
|
|
4045
4051
|
modelMaxImagesPerCall,
|
|
4046
4052
|
openAITranscriptionProviderOptions,
|
|
4047
4053
|
openaiChatLanguageModelOptions,
|