-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(core): make mustache prompt with nested object working correctly #8868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): make mustache prompt with nested object working correctly #8868
Conversation
🦋 Changeset detectedLatest commit: cf35293 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Thanks for the contributions!
@hntrl @christian-bromann thanks for the rapid review & merging! |
This PR adds a test case that reveals a circumstance in which Mustache nested objects do not work correctly.Since I don't have a detailed enough understanding to make code changes, I'll start by adding test cases.This test case passes on @langchain/[email protected] which I'm using for now.This issue may be caused by the following PR: #8580.This PR fixes an mustache template issue that nested objects won't work correctly.