Skip to content

Commit

Permalink
chore: Add advanced option for storing messages in ChatInput and Chat…
Browse files Browse the repository at this point in the history
…Output

This commit adds an advanced option for storing messages in the ChatInput and ChatOutput components. By setting the `advanced` flag to `True`, the messages will be stored in the history. This provides more flexibility and control over message storage in the application.
  • Loading branch information
ogabrielluiz committed Jul 12, 2024
1 parent a689c96 commit 7589a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/inputs/ChatInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ChatInput(ChatComponent):
display_name="Store Messages",
info="Store the message in the history.",
value=True,
advanced=True,
),
DropdownInput(
name="sender",
Expand Down
1 change: 1 addition & 0 deletions src/backend/base/langflow/components/outputs/ChatOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class ChatOutput(ChatComponent):
display_name="Store Messages",
info="Store the message in the history.",
value=True,
advanced=True,
),
DropdownInput(
name="sender",
Expand Down

0 comments on commit 7589a29

Please sign in to comment.