Skip to content

feat(langchain/agents): canJumpTo hook param#9218

Merged
Hunter Lovell (hntrl) merged 8 commits into
mainfrom
hunter/jump-hook-param
Oct 17, 2025
Merged

feat(langchain/agents): canJumpTo hook param#9218
Hunter Lovell (hntrl) merged 8 commits into
mainfrom
hunter/jump-hook-param

Conversation

@hntrl
Copy link
Copy Markdown
Member

@hntrl Hunter Lovell (hntrl) commented Oct 17, 2025

before (yuck, gross):

createMiddleware({
  ...,
  beforeModelJumpTo: [...],
  beforeModel: () => {}
});

after (woo, yay):

createMiddleware({
  ...,
  beforeModel: {
    canJumpTo: [...],
    hook: () => {}
  }
});

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 17, 2025

⚠️ No Changeset found

Latest commit: c520912

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

Base automatically changed from hunter/readd-state-schema to main October 17, 2025 03:55
@hntrl Hunter Lovell (hntrl) merged commit 57e6e74 into main Oct 17, 2025
34 checks passed
@hntrl Hunter Lovell (hntrl) deleted the hunter/jump-hook-param branch October 17, 2025 08:31
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.

1 participant