@ai-sdk/azure 3.0.93 → 3.0.94

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,13 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 3.0.94
4
+
5
+ ### Patch Changes
6
+
7
+ - 23632b1: Add blocked domain filters to the OpenAI and Azure Responses API web search tools.
8
+ - Updated dependencies [23632b1]
9
+ - @ai-sdk/openai@3.0.89
10
+
3
11
  ## 3.0.93
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ var azureOpenaiTools = {
43
43
  };
44
44
 
45
45
  // src/version.ts
46
- var VERSION = true ? "3.0.93" : "0.0.0-test";
46
+ var VERSION = true ? "3.0.94" : "0.0.0-test";
47
47
 
48
48
  // src/azure-openai-provider.ts
49
49
  function isAzureOpenAIBaseURL(baseURL) {
package/dist/index.mjs CHANGED
@@ -37,7 +37,7 @@ var azureOpenaiTools = {
37
37
  };
38
38
 
39
39
  // src/version.ts
40
- var VERSION = true ? "3.0.93" : "0.0.0-test";
40
+ var VERSION = true ? "3.0.94" : "0.0.0-test";
41
41
 
42
42
  // src/azure-openai-provider.ts
43
43
  function isAzureOpenAIBaseURL(baseURL) {
package/docs/04-azure.mdx CHANGED
@@ -432,6 +432,7 @@ const result = await generateText({
432
432
  },
433
433
  filters: {
434
434
  allowedDomains: ['sfchronicle.com', 'sfgate.com'],
435
+ blockedDomains: ['example.com'],
435
436
  },
436
437
  }),
437
438
  },
@@ -458,7 +459,10 @@ The web search tool supports the following configuration options:
458
459
  - **searchContextSize** _'low' | 'medium' | 'high'_ - Controls the amount of context used for the search. Higher values provide more comprehensive results but may have higher latency and cost.
459
460
  - **userLocation** - Optional location information to provide geographically relevant results. Includes `type` (always `'approximate'`), `country`, `city`, `region`, and `timezone`.
460
461
  - **filters** - Optional filter configuration to restrict search results.
461
- - **allowedDomains** _string[]_ - Array of allowed domains for the search. Subdomains of the provided domains are automatically included.
462
+ - **allowedDomains** _string[]_ - Up to 100 allowed domains for the search.
463
+ - **blockedDomains** _string[]_ - Up to 100 blocked domains for the search.
464
+
465
+ Omit the HTTP or HTTPS prefix from domain filters. Subdomains of configured domains are automatically included or excluded.
462
466
 
463
467
  For detailed information on configuration options see the [Azure OpenAI Web Search Tool documentation](https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/web-search).
464
468
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/azure",
3
- "version": "3.0.93",
3
+ "version": "3.0.94",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@ai-sdk/deepseek": "2.0.50",
33
- "@ai-sdk/openai": "3.0.88",
33
+ "@ai-sdk/openai": "3.0.89",
34
34
  "@ai-sdk/provider": "3.0.14",
35
35
  "@ai-sdk/provider-utils": "4.0.40"
36
36
  },