mirror of https://github.com/hwchase17/langchain
Remove operator overloading for BaseMessage (#8245)
This PR removes operator overloading for base message. Removing the `+` operating from base message will help make sure that: 1) There's no need to re-define `+` for message chunks 2) That there's no unexpected behavior in terms of types changing (adding two messages yields a ChatPromptTemplate which is not a message)pull/8250/head
parent
30c2d3cd06
commit
ec069381fb
Loading…
Reference in New Issue