mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
783397eacb
## Description In `langchain_prompty`, messages are templated by Prompty. However, a call to `ChatPromptTemplate` was initiating a second templating. We now convert parsed messages to `Message` objects before calling `ChatPromptTemplate`, signifying clearly that they are already templated. We also revert #25739 , which applied to this second templating, which we now avoid, and did not fix the original issue. ## Issue Closes #25703 |
||
---|---|---|
.. | ||
__init__.py | ||
core.py | ||
langchain.py | ||
parsers.py | ||
renderers.py | ||
utils.py |