Bug when creating scenes

Hello everyone,

Using the AI discussion, I tried to request the creation of a scene which failed. I asked for a summary of the failure:

Here is a summary of the errors encountered for your bug report:

Error Context:
Attempt to mass-create multiple automated scenes (scenes « SDB - IRIS Lamp » from 0 to 6) via the scene_create tool.

Bug Description:
After generating a series of calls to the scene_create tool for each state of the counter (mqtt-compt-lum-sdb), the system interrupted the process with the following error message:

« The request to the Artificial Intelligence API failed, please try again! »

Technical Points to Check:

  1. Load Management (Batching): Does sending many calls to the scene_create tool in a single response or a very rapid sequence cause a timeout or API overload?
  2. API Error: The error appears to be a communication failure with the AI backend rather than a syntax error in the tool arguments.
  3. Persistence: It is not clear whether some scenes were actually created before the failure or if the entire block was canceled.

For information: No scenes were created in the end!