Skip to content

Commit 0c1ee76

Browse files
committed
Merge commit 'd9b94b345ca03567e9e71167a3bd0ebab1aab8a8' into feat/noise-reduction-argument
2 parents 20d0e6f + d9b94b3 commit 0c1ee76

File tree

106 files changed

+2532
-1385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+2532
-1385
lines changed

.changeset/clever-tools-reply.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/dull-beans-arrive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/silly-geese-wear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-realtime': patch
3+
---
4+
5+
Adds support for the speed parameter

.changeset/smart-mirrors-join.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/swift-eyes-heal.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/twelve-poets-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-core': patch
3+
---
4+
5+
Fixes handling of `agent_updated_stream_event` in run implementation and adds corresponding test coverage.

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
run: pnpm build
4141

4242
- name: Create and publish versions
43+
id: changesets
4344
uses: changesets/action@v1
4445
with:
4546
commit: 'chore: update versions'
@@ -50,3 +51,15 @@ jobs:
5051
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5152
NPM_CONFIG_PROVENANCE: true
5253
NPM_CONFIG_ACCESS: public
54+
55+
- name: Tag release
56+
if: steps.changesets.outputs.published == 'true'
57+
run: |
58+
version=$(jq -r '.version' packages/agents/package.json)
59+
tag="v${version}"
60+
if git rev-parse "refs/tags/$tag" >/dev/null 2>&1; then
61+
echo "Tag $tag already exists"
62+
else
63+
git tag -a "$tag" -m "Release $tag"
64+
git push origin "$tag"
65+
fi

.github/workflows/test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,27 @@ on:
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
11+
env:
12+
NODE_OPTIONS: "--max_old_space_size=4096"
1113
strategy:
1214
matrix:
1315
# https://nodejs.org/en/about/previous-releases
1416
node-version: [20, 22, 24]
1517
steps:
1618
- name: Checkout repository
1719
uses: actions/checkout@v4
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 10.13.1
24+
run_install: false
1825
- name: Setup Node.js
1926
uses: actions/setup-node@v4
2027
with:
2128
node-version: ${{ matrix.node-version }}
22-
- name: Install pnpm
23-
uses: pnpm/action-setup@v4
24-
with:
25-
version: 10.12.1
26-
run_install: true
29+
cache: 'pnpm'
30+
- name: Install dependencies
31+
run: pnpm install
2732
- name: Build all packages
2833
run: pnpm build
2934
- name: Run linter

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ The OpenAI Agents SDK is a lightweight yet powerful framework for building multi
44

55
<img src="https://cdn.openai.com/API/docs/images/orchestration.png" alt="Image of the Agents Tracing UI" style="max-height: 803px;">
66

7-
87
> [!NOTE]
98
> Looking for the Python version? Check out [Agents SDK Python](https://github.com/openai/openai-agents-python).
109
11-
1210
## Core concepts
1311

1412
1. **Agents**: LLMs configured with instructions, tools, guardrails, and handoffs.
@@ -52,8 +50,10 @@ Experimental support:
5250

5351
### Installation
5452

53+
This SDK currently does not work with `[email protected]` and above. Please install `[email protected]` (or any older version) explicitly. We will resolve this dependency issue soon. Please check [this issue](https://github.com/openai/openai-agents-js/issues/187) for updates.
54+
5555
```bash
56-
npm install @openai/agents
56+
npm install @openai/agents 'zod@<=3.25.67'
5757
```
5858

5959
## Hello world example

docs/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)