Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logs when stuck #33

Closed
steve8708 opened this issue Jun 19, 2024 · 0 comments · Fixed by #40
Closed

Add logs when stuck #33

steve8708 opened this issue Jun 19, 2024 · 0 comments · Fixed by #40
Labels
help wanted Extra attention is needed

Comments

@steve8708
Copy link
Contributor

Currently, we detect when the agent gets stuck and abort

It would be great instead to

  1. check with the LLM if it is stuck because of a bad test command, or just the same test failure on repeat
  2. if ti is test failure on repeat - instruct the LLM to add logs to the code and set an internal flag that this was set

the idea is, with some logs, perhaps this will help the AI see more info and get unstuck just like a human

then, if the flag is on, at the end tell the AI to remove the logs from the code before fully finishing

@steve8708 steve8708 added the help wanted Extra attention is needed label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant