feat: add tool_mode parameter to MessageTextInput in ID Generator Component (#5311)
* feat: add tool_mode parameter to MessageTextInput for enhanced functionality * fix: update tool mode test to ensure correct functionality and response handling - Adjusted test to wait for the "Toolset" element to appear before asserting its count. - Modified code handling to replace "tool_mode=True" with "tool_mode=False" and verified the updated code is different. - Added response check for the custom component to ensure a successful status (200) after submission. --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
214829ab45
commit
e79b1649a5
2 changed files with 17 additions and 14 deletions
|
|
@ -21,6 +21,7 @@ class IDGeneratorComponent(Component):
|
|||
display_name="Value",
|
||||
info="The generated unique ID.",
|
||||
refresh_button=True,
|
||||
tool_mode=True,
|
||||
),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue