Skip to main content

AI.BAD_OPTION

Error code AI.BAD_OPTION, raised by packages, toolkits/ai. Area: AI.

What it means​

  • history_limit must be between 2 and 500
  • Give at most 20 examples
  • Each example needs a question and an answer

What to do​

  • Set history_limit between 2 and 500.
  • Keep the 20 examples that show the pattern best.
  • Fill in both sides of every example, or remove the empty one.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: AI BAD_OPTION bad option