import React from 'react'; import { Settings, Wrench, Server, BookOpen, Workflow, Zap } from 'lucide-react'; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/components/ui/accordion'; import { ExpandableMarkdownEditor } from '@/components/ui/expandable-markdown-editor'; import { AgentToolsConfiguration } from '../agent-tools-configuration'; import { AgentMCPConfiguration } from '../agent-mcp-configuration'; import { AgentKnowledgeBaseManager } from '../knowledge-base/agent-knowledge-base-manager'; import { AgentWorkflowsConfiguration } from '../workflows/agent-workflows-configuration'; import { AgentTriggersConfiguration } from '../triggers/agent-triggers-configuration'; interface ConfigurationTabProps { agentId: string; displayData: { name: string; description: string; system_prompt: string; agentpress_tools: any; configured_mcps: any[]; custom_mcps: any[]; is_default: boolean; avatar: string; avatar_color: string; }; versionData?: { version_id: string; configured_mcps: any[]; custom_mcps: any[]; system_prompt: string; agentpress_tools: any; }; isViewingOldVersion: boolean; onFieldChange: (field: string, value: any) => void; onMCPChange: (updates: { configured_mcps: any[]; custom_mcps: any[] }) => void; } export function ConfigurationTab({ agentId, displayData, versionData, isViewingOldVersion, onFieldChange, onMCPChange, }: ConfigurationTabProps) { return (
Define agent behavior and goals
Configure default agentpress tools
Connect external services via MCPs
Upload and manage knowledge for the agent
Automate complex processes
Set up automated agent runs