Use event stream for the runtime (#1776)

* rebuild PR from scratch

* fix max_iter

* regenerate tests

* cut down on history

* Update opendevin/controller/agent_controller.py

* regenerate tests

* revert swe agent

* revert some codeact chagnes

* regenerate tests

* add source to dict

* only add source if not none

* try to fix coverage issue

* lock

* add gevent
This commit is contained in:
Robert Brennan
2024-05-14 09:35:25 -04:00
committed by GitHub
parent 82a798990c
commit beb74a19f6
64 changed files with 2946 additions and 732 deletions

View File

@@ -59,7 +59,7 @@ class DummyAgent(Agent):
'observations': [NullObservation('')],
},
{
'action': ModifyTaskAction(id='0.0', state='in_progress'),
'action': ModifyTaskAction(task_id='0.0', state='in_progress'),
'observations': [NullObservation('')],
},
{
@@ -96,7 +96,7 @@ class DummyAgent(Agent):
'action': CmdRunAction(command=BACKGROUND_CMD, background=True),
'observations': [
CmdOutputObservation(
'Background command started. To stop it, send a `kill` action with id 42',
'Background command started. To stop it, send a `kill` action with command_id 42',
command_id='42', # type: ignore[arg-type]
command=BACKGROUND_CMD,
),