refactor: Update ChatOutput inputs to use specific input classes
This commit is contained in:
parent
f3a06381b6
commit
1ee717ed4e
2 changed files with 5 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ class ChatOutput(ChatComponent):
|
|||
advanced=True,
|
||||
info="Type of sender.",
|
||||
),
|
||||
StrInput(name="sender_name", display_name="Sender Name", info="Name of the sender.", value="AI"),
|
||||
StrInput(name="sender_name", display_name="Sender Name", info="Name of the sender.", value="AI", advanced=True),
|
||||
StrInput(name="session_id", display_name="Session ID", info="Session ID for the message.", advanced=True),
|
||||
BoolInput(
|
||||
name="record_template",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ export const gradients = [
|
|||
export const nodeColors: { [char: string]: string } = {
|
||||
inputs: "#10B981",
|
||||
outputs: "#AA2411",
|
||||
data: "#4367BF",
|
||||
data: "#198BF6",
|
||||
prompts: "#4367BF",
|
||||
models: "#6344BE",
|
||||
model_specs: "#6344BE",
|
||||
|
|
@ -267,13 +267,14 @@ export const nodeColors: { [char: string]: string } = {
|
|||
experimental: "#E6277A",
|
||||
langchain_utilities: "#31A3CC",
|
||||
output_parsers: "#E6A627",
|
||||
str: "#31a3cc",
|
||||
Text: "#31a3cc",
|
||||
str: "#4367BF",
|
||||
Text: "#4367BF",
|
||||
retrievers: "#e6b25a",
|
||||
unknown: "#9CA3AF",
|
||||
custom_components: "#ab11ab",
|
||||
Records: "#31a3cc",
|
||||
Record: "#31a3cc",
|
||||
Message: "#4367BF",
|
||||
};
|
||||
|
||||
export const nodeNames: { [char: string]: string } = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue