fix(studio): recover transient AI failures and report provider diagnostics

This commit is contained in:
Clintchiz committed 2026-10-19 19:42:55 +05:30
1 parent 98b3c5ff2f
commit e8c0f06d8f
4 files changed
+320 -41

No files matched your search

+2
View File
@@ -97,6 +97,8 @@ try {
process.env.APIMART_API_KEY?.trim() &&
(generation.provider !== "APIMart" ||
generation.model !== "gpt-6-luna" ||
generation.maxAttempts !== 2 ||
generation.maxOutputTokens !== 8192 ||
generation.timeoutMs !== 60_000)
)
throw Error(