Commit 934ca49
fix: make credential_config, metadata, next_review_date optional in agent creation
These fields are not in the dashboard's Register Agent form but were
required by the Zod schema. Now they default to null/empty array,
matching the Prisma schema where they're already nullable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bfe15f9 commit 934ca49
1 file changed
Lines changed: 5 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments