-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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: update message reload and update langchain-core #3054
Conversation
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 30 Jul 24 00:41 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
85c9703
to
2781b73
Compare
daeec82
to
4d70999
Compare
…nd_variables in Message class
…nd_variables in Message class
* refactor: update langchain-core to version 0.2.24 * refactor: convert inner messages to BaseMessage in load_lc_prompt method * refactor: update ChatPromptTemplate instantiation in message.py * refactor: update langflow-base dependency to use local path for development * [autofix.ci] apply automated fixes * refactor: update ChatPromptTemplate instantiation in message.py * refactor: add async_from_template_and_variables and sync from_template_and_variables * feat(tests): add unit test for Message schema serialization and prompt loading * refactor: update langchain-core dependency to version 0.2.24 * chore: new lock * mypy * chore: format pyproject * refactor: rename async_from_template_and_variables to from_template_and_variables in Message class * refactor: Rename async_from_template_and_variables to from_template_and_variables in Message class --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Nicolò Boschi <boschi1997@gmail.com> (cherry picked from commit 4382e42)
This pull request includes the following changes:
Refactored the instantiation of ChatPromptTemplate in message.py to convert inner messages to BaseMessage in the load_lc_prompt method.
Updated langchain-core dependency to version 0.2.24.
These changes improve the code structure and ensure compatibility with the latest version of langchain-core.