Merge remote-tracking branch 'origin/update_langchain' into release

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-06 23:34:29 -03:00
commit 4c749a0635

View file

@ -206,6 +206,10 @@ class ChainVertex(Vertex):
) -> Any:
if not self._built or force:
# Check if the chain requires a PromptVertex
# Temporarily remove the code from the params
self.params.pop("code", None)
for key, value in self.params.items():
if isinstance(value, PromptVertex):
# Build the PromptVertex, passing the tools if available