@openai/agents 0.4.1 → 0.4.2
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/README.md +2 -2
- package/dist/metadata.js +2 -2
- package/dist/metadata.mjs +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Experimental support:
|
|
|
48
48
|
### Installation
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
npm install @openai/agents zod
|
|
51
|
+
npm install @openai/agents zod
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
## Hello world example
|
|
@@ -195,7 +195,7 @@ The final output is the last thing the agent produces in the loop.
|
|
|
195
195
|
|
|
196
196
|
### Error handling
|
|
197
197
|
|
|
198
|
-
- If the maximum number of turns is exceeded, a `MaxTurnsExceededError` is thrown.
|
|
198
|
+
- If the maximum number of turns is exceeded, a `MaxTurnsExceededError` is thrown unless it is handled.
|
|
199
199
|
- If a guardrail is triggered, a `GuardrailTripwireTriggered` exception is raised.
|
|
200
200
|
|
|
201
201
|
## Acknowledgements
|
package/dist/metadata.js
CHANGED
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.METADATA = void 0;
|
|
5
5
|
exports.METADATA = {
|
|
6
6
|
"name": "@openai/agents",
|
|
7
|
-
"version": "0.4.
|
|
7
|
+
"version": "0.4.2",
|
|
8
8
|
"versions": {
|
|
9
|
-
"@openai/agents": "0.4.
|
|
9
|
+
"@openai/agents": "0.4.2",
|
|
10
10
|
"@openai/agents-core": "workspace:*",
|
|
11
11
|
"@openai/agents-openai": "workspace:*",
|
|
12
12
|
"@openai/agents-realtime": "workspace:*",
|
package/dist/metadata.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file is automatically generated
|
|
2
2
|
export const METADATA = {
|
|
3
3
|
"name": "@openai/agents",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"versions": {
|
|
6
|
-
"@openai/agents": "0.4.
|
|
6
|
+
"@openai/agents": "0.4.2",
|
|
7
7
|
"@openai/agents-core": "workspace:*",
|
|
8
8
|
"@openai/agents-openai": "workspace:*",
|
|
9
9
|
"@openai/agents-realtime": "workspace:*",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openai/agents",
|
|
3
3
|
"repository": "https://github.com/openai/openai-agents-js",
|
|
4
4
|
"homepage": "https://openai.github.io/openai-agents-js/",
|
|
5
|
-
"version": "0.4.
|
|
5
|
+
"version": "0.4.2",
|
|
6
6
|
"description": "The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.",
|
|
7
7
|
"author": "OpenAI <support@openai.com>",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"debug": "^4.4.0",
|
|
29
29
|
"openai": "^6",
|
|
30
|
-
"@openai/agents-openai": "0.4.
|
|
31
|
-
"@openai/agents-
|
|
32
|
-
"@openai/agents-
|
|
30
|
+
"@openai/agents-openai": "0.4.2",
|
|
31
|
+
"@openai/agents-core": "0.4.2",
|
|
32
|
+
"@openai/agents-realtime": "0.4.2"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"openai",
|