Help/Artificial intelligence

Tab: Max wait time and limits

Set time and resource limits for the agent. These parameters prevent loops, control token consumption, and avoid excessive requests.

The fields below only apply when a time and limit exit is configured in the flow.

  • Maximum wait time — how long the agent waits for a function response before triggering the timeout exit. Adjustable in minutes via slider.
  • Maximum number of interactions (0 to 500) — message limit between the user and the agent in a single interaction. When reached, the agent stops responding until the thread is restarted.
  • Maximum number of tokens (0 to 9999) — total token limit processed during the interaction. Helps control consumption and prevent freezes caused by long inputs or responses.

If no time and limit exit is configured, the fields are ignored and no limit is applied.