Threads AI

ModelBlockedError

Raised by the test model-request guard before dispatch: TS class ModelBlockedError extends Error, Python exception ModelBlockedError(RuntimeError), so existing catch blocks behave the same.

runEvals catches exactly this type and returns a report with aborted.

Fields

modelstringrequired

provider/name of the model the guard blocked.

Edit on GitHub

On this page