- {props.editCard && (
-
- )}
- {props.data.files && props.data.files.length > 0 && (
- }
- text={`knowledge`}
- hoverText={`The agent has a custom knowledge base with ${props.data.files.length} documents. It can use them to give you answers.`}
- />
- )}
- }
- text={props.data.chat_model}
- hoverText={`The agent uses the ${props.data.chat_model} model to chat with you.`}
- />
- {props.data.output_modes.map((outputMode) => (
-
- ))}
- {props.data.input_tools.map((inputTool) => (
-
- ))}
-
-
-
-
-
-
-
-
- Private: only visible to you.
-
- Protected: visible to anyone with a link.
-
- Public: visible to everyone.
-
- All public agents will be reviewed by us before they are
- launched.
-
-
-
-
-
-
- )}
- />
- );
- case "color":
- return (
- (
-
- Color
- Choose a color for your agent.
-
-
-
- )}
- />
- );
- case "icon":
- return (
- (
-
- Icon
- Choose an icon for your agent.
-
-
-
- )}
- />
- );
- case "persona":
- return (
- (
-
- Personality
-
- What is the personality, thought process, or tuning of this
- agent? Get creative; this is how you can influence the agent
- constitution.
-
-
-
-
-
-
- )}
- />
- );
- case "files":
- return (
- (
-
- Knowledge Base
-
- Which information should be part of its digital brain?{" "}
- Manage data.
-
-
-
-
- {field.value && field.value.length > 0
- ? `${field.value.length} files selected`
- : "Select files"}
-
-
-
-
-
-
- Alert
-
-
- {warning || error}
-
- {
- setWarning(null);
- setError(null);
- setUploading(false);
- }}
- >
- Close
-
-
-
-
+ {props.editCard && (
+
+ )}
+ {props.data.files && props.data.files.length > 0 && (
+ }
+ text={`knowledge`}
+ hoverText={`The agent has a custom knowledge base with ${props.data.files.length} documents. It can use them to give you answers.`}
+ />
+ )}
+ }
+ text={props.data.chat_model}
+ hoverText={`The agent uses the ${props.data.chat_model} model to chat with you.`}
+ />
+ {props.data.output_modes.map((outputMode) => (
+
+ ))}
+ {props.data.input_tools.map((inputTool) => (
+
+ ))}
+
+
+
+
+
+
+
+
+ Private: only visible to you.
+
+ Protected: visible to anyone with a link.
+
+ Public: visible to everyone.
+
+ All public agents will be reviewed by us before they are
+ launched.
+
+
+
+
+
+
+ )}
+ />
+ );
+ case "color":
+ return (
+ (
+
+ Color
+ Choose a color for your agent.
+
+
+
+ )}
+ />
+ );
+ case "icon":
+ return (
+ (
+
+ Icon
+ Choose an icon for your agent.
+
+
+
+ )}
+ />
+ );
+ case "persona":
+ return (
+ (
+
+ Personality
+
+ What is the personality, thought process, or tuning of this
+ agent? Get creative; this is how you can influence the agent
+ constitution.
+
+
+
+
+
+
+ )}
+ />
+ );
+ case "files":
+ return (
+ (
+
+ Knowledge Base
+
+ Which information should be part of its digital brain?{" "}
+ Manage data.
+
+
+
+
+ {field.value && field.value.length > 0
+ ? `${field.value.length} files selected`
+ : "Select files"}
+
+
+
+
+
+
+ Alert
+
+
+ {warning || error}
+
+ {
+ setWarning(null);
+ setError(null);
+ setUploading(false);
+ }}
+ >
+ Close
+
+
+
+