AI agent instructions
AI agent instructions
FunctionRunResponse in Python.
Fields
rejected when the function raised an ExpectedFunctionError (a deliberate
refusal), failed for any other exception. Neither is a success. An API
without rejected support reports deliberate refusals as failed too;
error.kind is then still expected when the API sends error.