-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: CodeActAgent awaits user input after each step #1780
Comments
add "Don't give me intermediate steps" to the task OpenDevin/agenthub/codeact_agent/codeact_agent.py Lines 265 to 267 in 8ee6c93
Should get |
I'm not sure whether we can make CodeActAgent do like this : #1777 Let llm to choose whether continue executing or ask for user input ? @neubig cc @xingyaoww @rbren |
@assertion Based on my understanding of the solution in #1777, you are forcing the model to predict the argument of True vs. False and parse it to decide whether to ask for user input? I think that eventually comes down to whether the LLM can choose between acting and asking for input. For GPT-4, this is probably not a problem - even if you don't force the model to generate arguments, they can still perform tasks autonomously vs. asking humans. If you instruct a weaker model to do so, I think they will struggle with this nevertheless -- even if you force them to generate these "ask user input = True vs. False", plus we have to deal with parsing for this, which is kinda undesirable :( I think we can probably address this by introducing the full-autonomous mode: #1798 |
@neubig Which version of GPT-4 are you running? |
Is there an existing issue for the same bug?
Describe the bug
Currently, with the most recent master version, the agent seems to await user input after each step. Here is an example screenshot:
Current Version
Installation and Configuration
`make build; make run`
Model and Agent
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
In the logs, after every step I see:
For instance, here is the first action:
The text was updated successfully, but these errors were encountered: