vskill 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -374,8 +374,8 @@ export function registerSkillCreateRoutes(router, root) {
|
|
|
374
374
|
sendJson(res, { error: "Describe what your skill should do" }, 400, req);
|
|
375
375
|
return;
|
|
376
376
|
}
|
|
377
|
-
if (body.prompt.length >
|
|
378
|
-
sendJson(res, { error: "Prompt is too long (max
|
|
377
|
+
if (body.prompt.length > 50000) {
|
|
378
|
+
sendJson(res, { error: "Prompt is too long (max 50,000 characters)" }, 400, req);
|
|
379
379
|
return;
|
|
380
380
|
}
|
|
381
381
|
const wantsSSE = req.headers.accept?.includes("text/event-stream") ||
|