Skip to content

Conversation

christian-bromann
Copy link
Member

We've decided to keep tools in ModelRequest a list of tool instances so users have access on more tool information. This also removes tools and toolCalls from runtime as it differs from our middleware designs.

Copy link

changeset-bot bot commented Oct 4, 2025

⚠️ No Changeset found

Latest commit: af3844b

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

Copy link

vercel bot commented Oct 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Oct 5, 2025 9:16pm
langchainjs-docs Ignored Ignored Oct 5, 2025 9:16pm

* The tools to make available for this step.
*/
tools: string[];
tools: (ServerTool | ClientTool)[];
Copy link
Contributor

Choose a reason for hiding this comment

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

Does JS already define ServerTools?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really it is very broad defined, e.g. as Record<string, unknown>

Copy link
Contributor

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

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

Thank you! I'll make a corresponding change

@christian-bromann christian-bromann merged commit 4066305 into v1 Oct 5, 2025
35 checks passed
@christian-bromann christian-bromann deleted the cb/tool-revert branch October 5, 2025 21:38
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