Skip to content

Conversation

@christian-bromann
Copy link
Member

This patch implements 2 new features:

  • middleware can register their own tools
  • ModelRequest now provides and expects a string[] for tools - this avoids that user define new tools in that hook

@changeset-bot
Copy link

changeset-bot bot commented Sep 25, 2025

⚠️ No Changeset found

Latest commit: 4350887

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

@vercel
Copy link

vercel bot commented Sep 25, 2025

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

Project Deployment Preview Comments Updated (UTC)
langchainjs-docs Ready Ready Preview Comment Sep 26, 2025 9:07pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Sep 26, 2025 9:07pm

@christian-bromann christian-bromann changed the title Cb/tools in modelrequest feat(langchain/createAgent): allow middleware to define tools Sep 25, 2025
Base automatically changed from cb/systemPrompt to v1 September 26, 2025 21:10
@christian-bromann christian-bromann merged commit 96cef9f into v1 Sep 26, 2025
33 checks passed
@christian-bromann christian-bromann deleted the cb/tools-in-modelrequest branch September 26, 2025 21:11
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