2025-05-16 15:54:17 +02:00
|
|
|
import { z } from "zod";
|
2024-11-11 12:39:59 +01:00
|
|
|
|
|
|
|
|
export const AgentSchema = z.object({
|
2026-01-28 15:54:03 +01:00
|
|
|
name: z.string().nonempty("Name is required"),
|
2025-05-16 15:54:17 +02:00
|
|
|
description: z.string(),
|
2024-11-11 12:39:59 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export type AgentType = z.infer<typeof AgentSchema>;
|