Forum Discussion

ilkka's avatar
ilkka
Microsoft Employee
7 months ago

Fabric Data Agent won't stop running

I am testing a Fabric Data Agent connected to a Semantic Model. I have written detailed instructions for the agent and it returns a decent response, but after providing the first response, it continues working, goes onto an infinite loop and doesn't stop thinking. 

Are there specific instructions that I could give it to stop working on the response? Or are there other configurations that I'd need to look into?

3 Replies

  • v-sgandrathi's avatar
    v-sgandrathi
    Community Support

    Hi ilkka,

     

    This behavior is normal when using Fabric Data Agents and is not due to any issues with your prompt or semantic model setup. Fabric Data Agents use an internal reasoning loop, which can cause them to keep processing after generating a valid response, especially when working with Semantic Models or following detailed or open-ended instructions.

    Currently, there are no prompt instructions, stop commands, or configuration settings available that let users end agent execution once a response is produced. Options like setting a maximum number of iterations or timeouts are not provided to users, so the ongoing “thinking” is a known platform limitation, not a misconfiguration.

    As a workaround, you can make your instructions brief and ask for a single final response, which might reduce further processing but won’t completely stop it. For cases that require strict execution limits, this would need to be addressed by future product improvements.

     

    I also suggest submitting your detailed feedback and ideas through Microsoft's official feedback channels, such as Microsoft Fabric Ideas. Feedback submitted through these channels is frequently reviewed by the product teams and can contribute to meaningful improvements.
    Fabric Ideas - Microsoft Fabric Community

    Thank you.

    • v-sgandrathi's avatar
      v-sgandrathi
      Community Support

      Hi ilkka,

       

      Following up to check whether you got a chance to review the suggestions given. If the issue still persists please let us know. Glad to help. 

       

      Thank you.

  • Have there been any updates on this endless loop issue with Fabric Data Agents being fixed?
    How soon can this issue be fixed?
    Can we have a manual timeout of some kind since I am also thinking of using the Data Agents for a client