mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-21 18:26:09 +00:00
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
|
||||
if (
|
||||
!isNewInference &&
|
||||
res.status !== 200 &&
|
||||
// ie. 400 error is usually provider error like malformed request
|
||||
res.status !== 400 &&
|
||||
|
||||
Reference in New Issue
Block a user