fix(studio): recover transient AI failures and report provider diagnostics
This commit is contained in:
1 parent
98b3c5ff2f
commit
e8c0f06d8f
4 files changed
+320
-41
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user