Files
AgentCompany/src/renderer/components/organization/AgentCreator.tsx
T
ZacharyZhang-NY d513497341 i18n(skills): localise SkillsSection strings
SkillsSection had nine hardcoded English strings (header, filter
placeholder/aria-label, empty-state copy, button labels). Move them to
skills.* keys in en.ts/zh.ts and swap the component to useT().
2026-04-16 23:35:21 -04:00

28 lines
568 B
TypeScript

import type { AgentRecord, ConnectorRecord, WorkspaceRecord } from "@shared/types";
import { AgentForm } from "./agent-form";
export function AgentCreator({
companyId,
connectors,
workspaces,
agents,
onSaved,
}: {
companyId: string;
connectors: ConnectorRecord[];
workspaces: WorkspaceRecord[];
agents: AgentRecord[];
onSaved: () => Promise<void>;
}) {
return (
<AgentForm
mode="create"
companyId={companyId}
connectors={connectors}
workspaces={workspaces}
agents={agents}
onSaved={onSaved}
/>
);
}