fix: add description column to tools page and make agents public by default
- Add description column to tools registry table - Change agent isPublic default from false to true in Prisma schema - Update CreateAgentSchema Zod default to true
This commit is contained in:
parent
361a49f3d7
commit
4b392a2eed
3 changed files with 17 additions and 8 deletions
|
|
@ -33,7 +33,7 @@ export const CreateAgentSchema = z.object({
|
|||
temperature: z.number().min(0).max(2).default(0.7),
|
||||
maxToolCallsPerTurn: z.number().int().min(1).max(100).default(20),
|
||||
maxMessagesInContext: z.number().int().min(1).max(100).default(10),
|
||||
isPublic: z.boolean().default(false),
|
||||
isPublic: z.boolean().default(true),
|
||||
collectionIds: z.array(z.string()).optional(),
|
||||
toolIds: z.array(z.string()).optional(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue