@ai-sdk/xai 2.0.41 → 2.0.43

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/dist/index.mjs CHANGED
@@ -234,8 +234,11 @@ var xaiProviderOptions = z.object({
234
234
  */
235
235
  maxSearchResults: z.number().min(1).max(50).optional(),
236
236
  /**
237
- * data sources to search from
238
- * defaults to ["web", "x"] if not specified
237
+ * data sources to search from.
238
+ * defaults to [{ type: 'web' }, { type: 'x' }] if not specified.
239
+ *
240
+ * @example
241
+ * sources: [{ type: 'web', country: 'US' }, { type: 'x' }]
239
242
  */
240
243
  sources: z.array(searchSourceSchema).optional()
241
244
  }).optional()
@@ -1993,7 +1996,7 @@ var xaiTools = {
1993
1996
  };
1994
1997
 
1995
1998
  // src/version.ts
1996
- var VERSION = true ? "2.0.41" : "0.0.0-test";
1999
+ var VERSION = true ? "2.0.43" : "0.0.0-test";
1997
2000
 
1998
2001
  // src/xai-provider.ts
1999
2002
  var xaiErrorStructure = {