@sisu-ai/tool-web-search-openai 9.0.0 → 11.0.0

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -14,9 +14,9 @@ npm i @sisu-ai/tool-web-search-openai
14
14
  ```
15
15
 
16
16
  Environment
17
- - `OPENAI_API_KEY` or `API_KEY`: API key (required)
17
+ - `API_KEY`: API key (required)
18
18
  - `OPENAI_RESPONSES_BASE_URL`: Base URL for the Responses API. Defaults to `https://api.openai.com`.
19
- - `OPENAI_BASE_URL` or `BASE_URL`: Fallback base URL if `OPENAI_RESPONSES_BASE_URL` is not set.
19
+ - `BASE_URL`: Fallback base URL if `OPENAI_RESPONSES_BASE_URL` is not set.
20
20
  - `OPENAI_RESPONSES_MODEL`: Model to use (default `gpt-4.1-mini`). If missing, the tool will try to infer from the adapter (`openai:<model>`), then fall back to default.
21
21
  - `DEBUG_LLM=1`: Logs a redacted request preview and response summary.
22
22
 
@@ -28,7 +28,7 @@ import { toolCalling } from '@sisu-ai/mw-tool-calling';
28
28
  import { openAIAdapter } from '@sisu-ai/adapter-openai';
29
29
  import { openAIWebSearch } from '@sisu-ai/tool-web-search-openai';
30
30
 
31
- const model = openAIAdapter({ model: 'gpt-4o-mini' });
31
+ const model = openAIAdapter({ model: 'gpt-5.4' });
32
32
  const app = new Agent()
33
33
  .use(registerTools([openAIWebSearch]))
34
34
  .use(toolCalling);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisu-ai/tool-web-search-openai",
3
- "version": "9.0.0",
3
+ "version": "11.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "zod": "^3.23.8"
13
13
  },
14
14
  "peerDependencies": {
15
- "@sisu-ai/core": "^2.4.0"
15
+ "@sisu-ai/core": "^2.6.0"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",