콘텐츠로 이동

ModelRetryAdvice

이 콘텐츠는 아직 번역되지 않았습니다.

type ModelRetryAdvice = object;
optional normalized: Partial<ModelRetryNormalizedError>;

Provider-supplied normalized facts that should override generic extraction when present.


optional reason: string;

Optional explanation for why the provider suggested or vetoed a retry.


optional replaySafety: "unsafe" | "safe";

Provider confidence about whether replaying the request is safe. Omit this field when replay safety is unknown.


optional retryAfterMs: number;

Optional delay hint in milliseconds from the provider or transport layer.


optional suggested: boolean;

Optional provider recommendation for whether this error is retryable. The runner still applies safety vetoes first and user policy remains the final authority.