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

Pause and Restart controls are often unresponsive #1427

Open
arose26 opened this issue Apr 28, 2024 · 11 comments
Open

Pause and Restart controls are often unresponsive #1427

arose26 opened this issue Apr 28, 2024 · 11 comments
Assignees
Labels
bug Something isn't working frontend Related to frontend severity:critical Affecting all users tracked Added to internal tracking
Milestone

Comments

@arose26
Copy link

arose26 commented Apr 28, 2024

What problem or use case are you trying to solve?
Many times the AI will get stuck trying to do a futile task. The user must currently wait for it to finish.
Describe the UX of the solution you'd like
An ABORT button that cancels the current task.
Do you have thoughts on the technical implementation?
Kill current process and return input to user.

@arose26 arose26 added the enhancement New feature or request label Apr 28, 2024
@zhonggegege
Copy link

Are you not used to the "MonologueAgent" monologue mode? A code reply that is easy to complete in the dialogue mode is difficult to complete after dozens of rounds in the monologue mode. It always has various errors, such as repeating without action in the monologue mode, Problems such as writing only part of the code, repeating multiple pieces of the same code, etc. In this case, using the chat mode can directly reply to the complete code in 2-5 rounds of conversations. Scenarios like this feel like simple things become complicated. Yes, I think there is a problem with the logic. Of course, I don’t mean that the monologue logic is unnecessary, but I think it still has a lot of room for optimization.

@enyst
Copy link
Collaborator

enyst commented Apr 28, 2024

@arose26 We have added a 'pause' button and a 'restart a new agent task' button under the chat box in the UI. Do those address this issue? You may need to upgrade, it's fairly recent I believe.

@zhonggegege You may see better results with state of the art models (like GPT-4, Claude-3), but this is indeed work in progress. As far as we know, monologue agent is still the most used, SWE agent might be better on some specific actions, although that's not enough to do well with GPT-3.5, but again it seems better with GPT-4. There is a lot of work on CodeActAgent with conversation mode, that you may see results of, either now or soon. You can also take a look at the current PRs on CodeAct and try them out if you wish.

@zhonggegege
Copy link

When using local agent LLM, when the agent starts running, in many cases the "Pause" and "Restart" buttons are invalid (no response when clicked). If you observe "Terminal", "WEB-UI", and "LLM Proxy Server (Response Information)" at the same time, you will feel that the response of the front-end WEB-UI is very uncoordinated and cannot respond in time. It feels like there is a huge delay. The picture suddenly returned to normal.

@rbren rbren changed the title Abort function Pause and Restart controls are often unresponsive Apr 29, 2024
@rbren
Copy link
Collaborator

rbren commented Apr 29, 2024

Agree--the controls often become unresponsive. I think that's the bigger issue here, so I've changed the title to reflect it

@rbren rbren added bug Something isn't working severity:medium Affecting multiple users severity:critical Affecting all users and removed enhancement New feature or request severity:medium Affecting multiple users labels Apr 29, 2024
Copy link
Contributor

github-actions bot commented Jun 2, 2024

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@SmartManoj
Copy link
Contributor

@tobitege, #2602 async feature will solve this issue. right?

@tobitege
Copy link
Collaborator

tobitege commented Jul 7, 2024

Yes.

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Aug 16, 2024
@enyst enyst removed the Stale Inactive for 30 days label Aug 16, 2024
@mamoodi mamoodi added the tracked Added to internal tracking label Aug 28, 2024
@neubig neubig added this to the 2024-09 milestone Sep 4, 2024
@neubig
Copy link
Contributor

neubig commented Oct 8, 2024

@amanape just clarifying, was this fixed by #3604 ?

@amanape
Copy link
Member

amanape commented Oct 8, 2024

Not entirely, some of it may be async-related since these state changes wait for previous events to complete before pushing

@tobitege
Copy link
Collaborator

tobitege commented Oct 8, 2024

Not entirely, some of it may be async-related since these state changes wait for previous events to complete before pushing

I had something pretty much working, but had to bin it due to all the refactors (dockersshbox gone etc):
#2602

@neubig neubig removed this from the 2024-09 milestone Oct 11, 2024
@neubig neubig added this to the 2024-10 milestone Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Related to frontend severity:critical Affecting all users tracked Added to internal tracking
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

10 participants