diff --git a/dashboard/app/(dashboard)/ai-agents/_components/edit.tsx b/dashboard/app/(dashboard)/ai-agents/_components/edit.tsx index adc032a..1103a58 100644 --- a/dashboard/app/(dashboard)/ai-agents/_components/edit.tsx +++ b/dashboard/app/(dashboard)/ai-agents/_components/edit.tsx @@ -32,6 +32,12 @@ import { } from "@/components/ui/popover"; import { Textarea } from "@/components/ui/textarea"; import { + fetchAIAgent, + fetchAIConfigsAll, + fetchAgentTeamsAll, + fetchKnowledgeBasesAll, + fetchMCPCatalog, + fetchSkillDefinitionsAll, type AIAgent, type AIConfig, type AdminAgentTeam, @@ -40,13 +46,8 @@ import { type MCPToolCatalogItem, type MCPToolSourceType, type SkillDefinition, - fetchAIAgent, - fetchAIConfigsAll, - fetchAgentTeamsAll, - fetchMCPCatalog, - fetchKnowledgeBasesAll, - fetchSkillDefinitionsAll, } from "@/lib/api/admin"; +import { getEnumOptions } from "@/lib/enums"; import { AIAgentHandoffMode, AIAgentHandoffModeLabels, @@ -55,8 +56,6 @@ import { IMConversationServiceModeLabels, Status, } from "@/lib/generated/enums"; -import { getEnumOptions } from "@/lib/enums"; -import { FieldDescription } from "@base-ui/react"; type DirectToolItem = CreateAIAgentPayload["directTools"][number]; @@ -731,7 +730,7 @@ function EditDialogBody({ - 备注 + 内部备注