Skip to content

Commit

Permalink
Increase headcount limits
Browse files Browse the repository at this point in the history
  • Loading branch information
shrir committed Dec 16, 2024
1 parent a07221d commit 0e1c577
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/icps/AgentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,27 @@ const agentFormSchema = z.object({
headcountMin: z
.number({ invalid_type_error: "Min must be a number" })
.min(1, "Min must be greater than 0")
.max(30000, "Min must not be greater than 10,000")
.max(50000, "Min must not be greater than 10,000")
.int()
.default(1),
headcountMax: z
.number({ invalid_type_error: "Max must be a number" })
.min(1, "Max must be greater than 0")
.max(30000, "Max must not be greater than 10,000")
.max(50000, "Max must not be greater than 10,000")
.int()
.default(10000),
orgSize: z
.object({
engineeringMin: z
.number({ invalid_type_error: "Min must be a number" })
.min(1, "Min must be greater than 0")
.max(5000, "Min must not be greater than 2000")
.max(10000, "Min must not be greater than 2000")
.int()
.default(1),
engineeringMax: z
.number({ invalid_type_error: "Max must be a number" })
.min(1, "Max must be greater than 0")
.max(5000, "Max must not be greater than 2000")
.max(10000, "Max must not be greater than 2000")
.int()
.default(100),
})
Expand Down

0 comments on commit 0e1c577

Please sign in to comment.