@ai-sdk/xai 3.0.0-beta.63 → 3.0.0-beta.65

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 3.0.0-beta.65
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [50b70d6]
8
+ - @ai-sdk/provider-utils@4.0.0-beta.55
9
+ - @ai-sdk/openai-compatible@2.0.0-beta.56
10
+
11
+ ## 3.0.0-beta.64
12
+
13
+ ### Patch Changes
14
+
15
+ - 9cded0d: fix(provider/xai): correct sources format in searchParameters
16
+
3
17
  ## 3.0.0-beta.63
4
18
 
5
19
  ### Patch Changes
package/dist/index.js CHANGED
@@ -255,8 +255,11 @@ var xaiProviderOptions = import_v4.z.object({
255
255
  */
256
256
  maxSearchResults: import_v4.z.number().min(1).max(50).optional(),
257
257
  /**
258
- * data sources to search from
259
- * defaults to ["web", "x"] if not specified
258
+ * data sources to search from.
259
+ * defaults to [{ type: 'web' }, { type: 'x' }] if not specified.
260
+ *
261
+ * @example
262
+ * sources: [{ type: 'web', country: 'US' }, { type: 'x' }]
260
263
  */
261
264
  sources: import_v4.z.array(searchSourceSchema).optional()
262
265
  }).optional()
@@ -2001,7 +2004,7 @@ var xaiTools = {
2001
2004
  };
2002
2005
 
2003
2006
  // src/version.ts
2004
- var VERSION = true ? "3.0.0-beta.63" : "0.0.0-test";
2007
+ var VERSION = true ? "3.0.0-beta.65" : "0.0.0-test";
2005
2008
 
2006
2009
  // src/xai-provider.ts
2007
2010
  var xaiErrorStructure = {