@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ai-sdk/xai
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.47
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 954c356: feat(openai): allow custom names for provider-defined tools
|
|
8
|
+
- Updated dependencies [954c356]
|
|
9
|
+
- @ai-sdk/provider-utils@4.0.0-beta.39
|
|
10
|
+
- @ai-sdk/provider@3.0.0-beta.21
|
|
11
|
+
- @ai-sdk/openai-compatible@2.0.0-beta.40
|
|
12
|
+
|
|
3
13
|
## 3.0.0-beta.46
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1244,7 +1244,6 @@ var webSearchOutputSchema = (0, import_provider_utils4.lazySchema)(
|
|
|
1244
1244
|
);
|
|
1245
1245
|
var webSearchToolFactory = (0, import_provider_utils4.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1246
1246
|
id: "xai.web_search",
|
|
1247
|
-
name: "web_search",
|
|
1248
1247
|
inputSchema: (0, import_provider_utils4.lazySchema)(() => (0, import_provider_utils4.zodSchema)(import_v46.z.object({}))),
|
|
1249
1248
|
outputSchema: webSearchOutputSchema
|
|
1250
1249
|
});
|
|
@@ -1282,7 +1281,6 @@ var xSearchOutputSchema = (0, import_provider_utils5.lazySchema)(
|
|
|
1282
1281
|
);
|
|
1283
1282
|
var xSearchToolFactory = (0, import_provider_utils5.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1284
1283
|
id: "xai.x_search",
|
|
1285
|
-
name: "x_search",
|
|
1286
1284
|
inputSchema: (0, import_provider_utils5.lazySchema)(() => (0, import_provider_utils5.zodSchema)(import_v47.z.object({}))),
|
|
1287
1285
|
outputSchema: xSearchOutputSchema
|
|
1288
1286
|
});
|
|
@@ -1946,7 +1944,6 @@ var codeExecutionOutputSchema = import_v48.z.object({
|
|
|
1946
1944
|
});
|
|
1947
1945
|
var codeExecutionToolFactory = (0, import_provider_utils8.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1948
1946
|
id: "xai.code_execution",
|
|
1949
|
-
name: "code_execution",
|
|
1950
1947
|
inputSchema: import_v48.z.object({}).describe("no input parameters"),
|
|
1951
1948
|
outputSchema: codeExecutionOutputSchema
|
|
1952
1949
|
});
|
|
@@ -1961,7 +1958,6 @@ var viewImageOutputSchema = import_v49.z.object({
|
|
|
1961
1958
|
});
|
|
1962
1959
|
var viewImageToolFactory = (0, import_provider_utils9.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1963
1960
|
id: "xai.view_image",
|
|
1964
|
-
name: "view_image",
|
|
1965
1961
|
inputSchema: import_v49.z.object({}).describe("no input parameters"),
|
|
1966
1962
|
outputSchema: viewImageOutputSchema
|
|
1967
1963
|
});
|
|
@@ -1977,7 +1973,6 @@ var viewXVideoOutputSchema = import_v410.z.object({
|
|
|
1977
1973
|
});
|
|
1978
1974
|
var viewXVideoToolFactory = (0, import_provider_utils10.createProviderDefinedToolFactoryWithOutputSchema)({
|
|
1979
1975
|
id: "xai.view_x_video",
|
|
1980
|
-
name: "view_x_video",
|
|
1981
1976
|
inputSchema: import_v410.z.object({}).describe("no input parameters"),
|
|
1982
1977
|
outputSchema: viewXVideoOutputSchema
|
|
1983
1978
|
});
|
|
@@ -1993,7 +1988,7 @@ var xaiTools = {
|
|
|
1993
1988
|
};
|
|
1994
1989
|
|
|
1995
1990
|
// src/version.ts
|
|
1996
|
-
var VERSION = true ? "3.0.0-beta.
|
|
1991
|
+
var VERSION = true ? "3.0.0-beta.47" : "0.0.0-test";
|
|
1997
1992
|
|
|
1998
1993
|
// src/xai-provider.ts
|
|
1999
1994
|
var xaiErrorStructure = {
|