fix(studio): allow sixty seconds for AI generation

This commit is contained in:
Clintchiz committed 2026-10-19 14:29:15 +05:30
1 parent fac1c4461f
commit 27dcb561db
7 files changed
+60 -12

No files matched your search

+3 -1
View File
@@ -83,7 +83,9 @@ try {
).json();
if (
process.env.APIMART_API_KEY?.trim() &&
(generation.provider !== "APIMart" || generation.model !== "gpt-6-luna")
(generation.provider !== "APIMart" ||
generation.model !== "gpt-6-luna" ||
generation.timeoutMs !== 60_000)
)
throw Error(
"The compiled app did not pick up its server-side AI configuration.",