@ai-sdk/xai 5.0.17 → 5.0.18
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 +3 -3
- package/dist/index.js.map +1 -1
- package/docs/01-xai.mdx +2 -2
- package/package.json +1 -1
- package/src/tool/x-search.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1100,8 +1100,8 @@ const webSearch = (args = {}) => webSearchToolFactory(args);
|
|
|
1100
1100
|
//#endregion
|
|
1101
1101
|
//#region src/tool/x-search.ts
|
|
1102
1102
|
const xSearchArgsSchema = lazySchema(() => zodSchema(z.object({
|
|
1103
|
-
allowedXHandles: z.array(z.string()).max(
|
|
1104
|
-
excludedXHandles: z.array(z.string()).max(
|
|
1103
|
+
allowedXHandles: z.array(z.string()).max(20).optional(),
|
|
1104
|
+
excludedXHandles: z.array(z.string()).max(20).optional(),
|
|
1105
1105
|
fromDate: z.string().optional(),
|
|
1106
1106
|
toDate: z.string().optional(),
|
|
1107
1107
|
enableImageUnderstanding: z.boolean().optional(),
|
|
@@ -3088,7 +3088,7 @@ const xaiTools = {
|
|
|
3088
3088
|
};
|
|
3089
3089
|
//#endregion
|
|
3090
3090
|
//#region src/version.ts
|
|
3091
|
-
const VERSION = "5.0.
|
|
3091
|
+
const VERSION = "5.0.18";
|
|
3092
3092
|
//#endregion
|
|
3093
3093
|
//#region src/files/xai-files-options.ts
|
|
3094
3094
|
const xaiFilesOptionsSchema = lazySchema(() => zodSchema(z.looseObject({
|