mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-07 12:06:43 +00:00
ChatPromptTemplate
is not an ABC
, it's instantiated directly. (#9468)
Its own `__add__` method constructs `ChatPromptTemplate` objects directly, it cannot be abstract. Found while debugging something else with @nfcampos.
This commit is contained in:
parent
82fb56b79c
commit
82f28ca9ef
@ -337,7 +337,7 @@ MessageLikeRepresentation = Union[
|
||||
]
|
||||
|
||||
|
||||
class ChatPromptTemplate(BaseChatPromptTemplate, ABC):
|
||||
class ChatPromptTemplate(BaseChatPromptTemplate):
|
||||
"""A prompt template for chat models.
|
||||
|
||||
Use to create flexible templated prompts for chat models.
|
||||
|
Loading…
Reference in New Issue
Block a user