zen: new inference
This commit is contained in:
@@ -268,6 +268,7 @@ export async function handler(
|
|||||||
|
|
||||||
// Try another provider => stop retrying if using fallback provider
|
// Try another provider => stop retrying if using fallback provider
|
||||||
if (
|
if (
|
||||||
|
!isNewInference &&
|
||||||
res.status !== 200 &&
|
res.status !== 200 &&
|
||||||
// ie. 400 error is usually provider error like malformed request
|
// ie. 400 error is usually provider error like malformed request
|
||||||
res.status !== 400 &&
|
res.status !== 400 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user