@ai-sdk/xai 3.0.0-beta.46 → 3.0.0-beta.47
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 +10 -0
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1241,7 +1241,6 @@ var webSearchOutputSchema = lazySchema(
|
|
|
1241
1241
|
);
|
|
1242
1242
|
var webSearchToolFactory = createProviderDefinedToolFactoryWithOutputSchema({
|
|
1243
1243
|
id: "xai.web_search",
|
|
1244
|
-
name: "web_search",
|
|
1245
1244
|
inputSchema: lazySchema(() => zodSchema(z6.object({}))),
|
|
1246
1245
|
outputSchema: webSearchOutputSchema
|
|
1247
1246
|
});
|
|
@@ -1283,7 +1282,6 @@ var xSearchOutputSchema = lazySchema2(
|
|
|
1283
1282
|
);
|
|
1284
1283
|
var xSearchToolFactory = createProviderDefinedToolFactoryWithOutputSchema2({
|
|
1285
1284
|
id: "xai.x_search",
|
|
1286
|
-
name: "x_search",
|
|
1287
1285
|
inputSchema: lazySchema2(() => zodSchema2(z7.object({}))),
|
|
1288
1286
|
outputSchema: xSearchOutputSchema
|
|
1289
1287
|
});
|
|
@@ -1947,7 +1945,6 @@ var codeExecutionOutputSchema = z8.object({
|
|
|
1947
1945
|
});
|
|
1948
1946
|
var codeExecutionToolFactory = createProviderDefinedToolFactoryWithOutputSchema3({
|
|
1949
1947
|
id: "xai.code_execution",
|
|
1950
|
-
name: "code_execution",
|
|
1951
1948
|
inputSchema: z8.object({}).describe("no input parameters"),
|
|
1952
1949
|
outputSchema: codeExecutionOutputSchema
|
|
1953
1950
|
});
|
|
@@ -1962,7 +1959,6 @@ var viewImageOutputSchema = z9.object({
|
|
|
1962
1959
|
});
|
|
1963
1960
|
var viewImageToolFactory = createProviderDefinedToolFactoryWithOutputSchema4({
|
|
1964
1961
|
id: "xai.view_image",
|
|
1965
|
-
name: "view_image",
|
|
1966
1962
|
inputSchema: z9.object({}).describe("no input parameters"),
|
|
1967
1963
|
outputSchema: viewImageOutputSchema
|
|
1968
1964
|
});
|
|
@@ -1978,7 +1974,6 @@ var viewXVideoOutputSchema = z10.object({
|
|
|
1978
1974
|
});
|
|
1979
1975
|
var viewXVideoToolFactory = createProviderDefinedToolFactoryWithOutputSchema5({
|
|
1980
1976
|
id: "xai.view_x_video",
|
|
1981
|
-
name: "view_x_video",
|
|
1982
1977
|
inputSchema: z10.object({}).describe("no input parameters"),
|
|
1983
1978
|
outputSchema: viewXVideoOutputSchema
|
|
1984
1979
|
});
|
|
@@ -1994,7 +1989,7 @@ var xaiTools = {
|
|
|
1994
1989
|
};
|
|
1995
1990
|
|
|
1996
1991
|
// src/version.ts
|
|
1997
|
-
var VERSION = true ? "3.0.0-beta.
|
|
1992
|
+
var VERSION = true ? "3.0.0-beta.47" : "0.0.0-test";
|
|
1998
1993
|
|
|
1999
1994
|
// src/xai-provider.ts
|
|
2000
1995
|
var xaiErrorStructure = {
|