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
{{ message }}
Repository navigation
openai:agents ignores invalid retry policies instead of reporting them #11678
modelSettings.retry.policy for the openai:agents provider accepts the presets never, providerSuggested, networkError, retryAfter, and httpStatus, any and all objects. Any other value is silently ignored:
A misspelled preset such as networkErrors resolves to no policy, so the configured retry behavior never applies.
Inside any or all, an invalid entry is dropped and the rest still run. all: [{ httpStatus: [429] }, networkErrors] retries on every 429 instead of only on 429 network errors.
Malformed objects such as { any: [] } or { httpStatus: 429 } are also ignored or crash with an unrelated error.
looks like this was resolved in commit ea8b3d0 where resolveRetryPolicy was added to agents-model-settings.ts along with unit tests validating invalid policy options. tested against main and invalid retry configurations are reported as expected. this can be closed out.
Activity
rishiiicreates commentedon Oct 18, 2026
looks like this was resolved in commit ea8b3d0 where resolveRetryPolicy was added to agents-model-settings.ts along with unit tests validating invalid policy options. tested against main and invalid retry configurations are reported as expected. this can be closed out.