Refactor ChatOutput class to inherit from ChatComponent
This commit is contained in:
parent
e0a67b0410
commit
0e9aa23a1c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,11 +1,11 @@
|
|||
from typing import Optional, Union
|
||||
|
||||
from langflow import CustomComponent
|
||||
from langflow.field_typing import Text
|
||||
from langflow.io.schema import ChatComponent
|
||||
from langflow.schema import Record
|
||||
|
||||
|
||||
class ChatOutput(CustomComponent):
|
||||
class ChatOutput(ChatComponent):
|
||||
display_name = "Chat Output"
|
||||
description = "Used to send a message to the chat."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue