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
feat(CodeActAgent): Support Agent-User Interaction during Task Execution and the Full Integration of CodeActAgent #1290
feat(CodeActAgent): Support Agent-User Interaction during Task Execution and the Full Integration of CodeActAgent #1290
Conversation
Co-authored-by: Robert Brennan <[email protected]>
…tegrate-CodeActAgent
…tegrate-CodeActAgent
…tegrate-CodeActAgent
…tegrate-CodeActAgent
…tegrate-CodeActAgent
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1290 +/- ##
=======================================
Coverage ? 60.66%
=======================================
Files ? 84
Lines ? 3605
Branches ? 0
=======================================
Hits ? 2187
Misses ? 1418
Partials ? 0 ☔ View full report in Codecov by Sentry. |
opendevin/server/agent/agent.py
Outdated
@@ -93,7 +93,7 @@ async def dispatch(self, action: str | None, data: dict): | |||
case ActionType.INIT: | |||
await self.create_controller(data) | |||
case ActionType.START: | |||
await self.start_task(data) | |||
await self.start_task_or_chat(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's currently a status indicator on the frontend, which shows agent status--so it's there somewhere!
@xingyaoww I implemented the user_message action here: https://github.com/OpenDevin/OpenDevin/commits/rb/codeact/ But I can't find a way to contribute it to your PR... Edit: this is as far as I got |
@xingyaoww once my PR is merged into yours, this LGTM! |
implement user_message action
@rbren merged! this should be ready to go! |
🎉 glad to have this in! |
@rbren Thanks!!! Next steps:
|
Dependency:
mount_dir
for ssh_box #1333For general OpenDevin components:
IPythonRunCellAction
that allows the agent to use Jupyter plugin introduced in feat(sandbox): Candidate Implementation of Sandbox Plugin to Support Jupyter #1255 for task solving.AgentTalkAction
that allows the agent to communicate with the user (either to communicate results OR ask for clarification)__str__
method to some of the actions to get the printed in a readable waythought
attribute to mostAction
(if applicable)For CodeActAgent:
ipython
AND (2) usebash
For integration tests:
The best thing about
CodeActAgent
is that we have existing data and open models (e.g., CodeActAgent, CodeQwen) trained on that data, which could means we can have a usable local model that can run on laptop.Below demo is completed with CodeQwen, here's my
config.toml
: