@ai-sdk/openai 2.0.37 → 2.0.38
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 +212 -1
- package/dist/internal/index.d.ts +212 -1
- package/dist/internal/index.js +19 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +11 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/internal/index.mjs
CHANGED
|
@@ -2310,6 +2310,9 @@ var codeInterpreterToolFactory = createProviderDefinedToolFactoryWithOutputSchem
|
|
|
2310
2310
|
inputSchema: codeInterpreterInputSchema,
|
|
2311
2311
|
outputSchema: codeInterpreterOutputSchema
|
|
2312
2312
|
});
|
|
2313
|
+
var codeInterpreter = (args = {}) => {
|
|
2314
|
+
return codeInterpreterToolFactory(args);
|
|
2315
|
+
};
|
|
2313
2316
|
|
|
2314
2317
|
// src/tool/file-search.ts
|
|
2315
2318
|
import { createProviderDefinedToolFactoryWithOutputSchema as createProviderDefinedToolFactoryWithOutputSchema2 } from "@ai-sdk/provider-utils";
|
|
@@ -3846,6 +3849,14 @@ export {
|
|
|
3846
3849
|
OpenAIResponsesLanguageModel,
|
|
3847
3850
|
OpenAISpeechModel,
|
|
3848
3851
|
OpenAITranscriptionModel,
|
|
3852
|
+
codeInterpreter,
|
|
3853
|
+
codeInterpreterArgsSchema,
|
|
3854
|
+
codeInterpreterInputSchema,
|
|
3855
|
+
codeInterpreterOutputSchema,
|
|
3856
|
+
codeInterpreterToolFactory,
|
|
3857
|
+
fileSearch,
|
|
3858
|
+
fileSearchArgsSchema,
|
|
3859
|
+
fileSearchOutputSchema,
|
|
3849
3860
|
hasDefaultResponseFormat,
|
|
3850
3861
|
modelMaxImagesPerCall,
|
|
3851
3862
|
openAITranscriptionProviderOptions,
|