Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update apps/api/src/controllers/v1/types.ts

Gergő Móricz290dd033d38b
diff --git a/apps/api/src/controllers/v1/types.ts b/apps/api/src/controllers/v1/types.ts
index 5b0763226..89721cad9 100644
--- a/apps/api/src/controllers/v1/types.ts
+++ b/apps/api/src/controllers/v1/types.ts
@@ -135,7 +135,7 @@ export const actionsSchema = z.array(
).refine(
(actions) => actions.length <= MAX_ACTIONS,
{
- message: `Maximum of ${MAX_ACTIONS} actions allowed`,
+ message: `Number of actions cannot exceed ${MAX_ACTIONS}`,
},
).refine(
(actions) => calculateTotalWaitTime(actions) <= ACTIONS_MAX_WAIT_TIME * 1000,