Class ModelBehaviorError

All Implemented Interfaces:
Serializable

public class ModelBehaviorError extends AgentsError
ModelBehaviorError

Thrown when the model returns an unexpected or malformed response. This includes parsing errors, invalid response formats, etc.

Follows TypeScript SDK pattern from @openai/agents-core Source: https://openai.github.io/openai-agents-js/guides/running-agents/

See Also:
  • Constructor Details

    • ModelBehaviorError

      public ModelBehaviorError(String message)
    • ModelBehaviorError

      public ModelBehaviorError(String message, Throwable cause)