@ai-sdk/xai 3.0.0-beta.62 → 3.0.0-beta.64

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
@@ -238,8 +238,11 @@ var xaiProviderOptions = z.object({
238
238
  */
239
239
  maxSearchResults: z.number().min(1).max(50).optional(),
240
240
  /**
241
- * data sources to search from
242
- * defaults to ["web", "x"] if not specified
241
+ * data sources to search from.
242
+ * defaults to [{ type: 'web' }, { type: 'x' }] if not specified.
243
+ *
244
+ * @example
245
+ * sources: [{ type: 'web', country: 'US' }, { type: 'x' }]
243
246
  */
244
247
  sources: z.array(searchSourceSchema).optional()
245
248
  }).optional()
@@ -2002,7 +2005,7 @@ var xaiTools = {
2002
2005
  };
2003
2006
 
2004
2007
  // src/version.ts
2005
- var VERSION = true ? "3.0.0-beta.62" : "0.0.0-test";
2008
+ var VERSION = true ? "3.0.0-beta.64" : "0.0.0-test";
2006
2009
 
2007
2010
  // src/xai-provider.ts
2008
2011
  var xaiErrorStructure = {