Skip to content

[BUG] Agent stuck in a loop repeating the same thing #162

@daninfpj

Description

@daninfpj

Describe the bug
After running a scan on a local repo and asking for follow up questions, the agent was stuck in a loop, repeating itself.

To Reproduce
Steps to reproduce the behavior:

  1. Run a scan on a local repo
  2. The agent made an optional suggestion to fix a possible vulnerability
  3. I asked for instructions to implement that option
  4. The agent went on for a while, adding to an explanation that was way too long, for something simple. I had to stop it manually, because it just kept going
  5. I asked for a concise version of the same instructions, and explicitly asked the agent to not go on forever
  6. The agent started repeating the same literal thing over and over. I had to stop it manually

Expected behavior
The agent should not go on forever, infinitely adding to an answer. Moreover, it should not repeat the same literal thing in a loop.

Screenshots
If applicable, add screenshots to help explain your problem.

System Information:

  • OS: MacOS
  • Strix Version or Commit: v0.4.0
  • Python Version: 3.12
  • LLM Used: GPT-5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions