You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(embedding): don't trip account breaker on request-level 400s (#5822)
A single embedding call rejected with HTTP 400 (for example an invalid
image URL in a multimodal find) opened the account-wide circuit breaker,
so every following find/search and resource embedding on that account
failed with CircuitBreakerOpen until the reset timeout elapsed.
Treat ERROR_CLASS_PERMANENT like INPUT_TOO_LARGE and AUTH: the error is
still raised to the caller but is no longer recorded on the breaker.
Transient, quota and unknown failures keep tripping it as before.