Skip to content

fix(deepagents): add integration test for subagent responseFormat#423

Merged
Maahir Sachdev (maahir30) merged 2 commits intomainfrom
add-quick-test
Apr 2, 2026
Merged

fix(deepagents): add integration test for subagent responseFormat#423
Maahir Sachdev (maahir30) merged 2 commits intomainfrom
add-quick-test

Conversation

@maahir30
Copy link
Copy Markdown
Contributor

Adds an integration test that verifies the end-to-end flow when responseFormat is set directly on a SubAgent spec. The test confirms that the subagent's structuredResponse is JSON-serialized into the ToolMessage content returned to the parent agent. This path was previously only covered by a unit test that mocked the subagent output directly, skipping the createAgent + responseFormat integration.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 2, 2026

⚠️ No Changeset found

Latest commit: 39dd5fa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/deepagents-acp@423
npm i https://pkg.pr.new/deepagents@423
npm i https://pkg.pr.new/@langchain/sandbox-standard-tests@423

commit: 39dd5fa

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice 🙌

@maahir30 Maahir Sachdev (maahir30) merged commit a0fb3e1 into main Apr 2, 2026
15 checks passed
@maahir30 Maahir Sachdev (maahir30) deleted the add-quick-test branch April 2, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants