refactor: Update TextOutputComponent to set status with input value
This commit updates the TextOutputComponent class in the TextOutput.py file to set the status attribute with the input value. This change improves the code logic and ensures that the status is properly assigned.
This commit is contained in:
parent
b475e51c51
commit
2db30b42fc
2 changed files with 3249 additions and 3257 deletions
|
|
@ -23,8 +23,6 @@ class TextOutputComponent(TextComponent):
|
|||
def text_response(self) -> Message:
|
||||
message = Message(
|
||||
text=self.input_value,
|
||||
sender=self.sender,
|
||||
sender_name=self.sender_name,
|
||||
session_id=self.session_id,
|
||||
)
|
||||
self.status = self.input_value
|
||||
return message
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue