Update input handling in Vertex class
This commit is contained in:
parent
17d1841e28
commit
0eacc33f82
1 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ from loguru import logger
|
|||
|
||||
from langflow.graph.schema import (
|
||||
INPUT_COMPONENTS,
|
||||
INPUT_FIELD_NAME,
|
||||
OUTPUT_COMPONENTS,
|
||||
InterfaceComponentTypes,
|
||||
ResultData,
|
||||
|
|
@ -709,7 +710,8 @@ class Vertex:
|
|||
self._reset()
|
||||
|
||||
if self._is_chat_input() and inputs is not None:
|
||||
self.update_raw_params(inputs)
|
||||
inputs = {"input_value": inputs.get(INPUT_FIELD_NAME, "")}
|
||||
self.update_raw_params(inputs, overwrite=True)
|
||||
|
||||
# Run steps
|
||||
for step in self.steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue