fix: update message reload and update langchain-core (#3054)
* 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>
This commit is contained in:
parent
3e6d3dc326
commit
4382e42d77
7 changed files with 565 additions and 590 deletions
|
|
@ -32,7 +32,7 @@ httpx = "*"
|
|||
uvicorn = "^0.30.0"
|
||||
gunicorn = "^22.0.0"
|
||||
langchain = "~0.2.0"
|
||||
langchain-core = "0.2.23"
|
||||
langchain-core = "^0.2.24"
|
||||
langchainhub = "~0.1.15"
|
||||
sqlmodel = "^0.0.18"
|
||||
loguru = "^0.7.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue