Skip to content

Commit

Permalink
change some more eventstream refs
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Dec 26, 2024
1 parent 5c5e99f commit 73063c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openhands/core/config/app_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AppConfig:
default_agent: str = OH_DEFAULT_AGENT
sandbox: SandboxConfig = field(default_factory=SandboxConfig)
security: SecurityConfig = field(default_factory=SecurityConfig)
runtime: str = 'eventstream'
runtime: str = 'docker'
file_store: str = 'memory'
file_store_path: str = '/tmp/file_store'
trajectories_path: str | None = None
Expand Down
2 changes: 1 addition & 1 deletion openhands/resolver/resolve_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def process_issue(

config = AppConfig(
default_agent='CodeActAgent',
runtime='eventstream',
runtime='docker',
max_budget_per_task=4,
max_iterations=max_iterations,
sandbox=SandboxConfig(
Expand Down
2 changes: 1 addition & 1 deletion tests/runtime/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def cleanup():
# Depending on TEST_RUNTIME, feed the appropriate box class(es) to the test.
def get_runtime_classes() -> list[type[Runtime]]:
runtime = TEST_RUNTIME
if runtime.lower() == 'docker':
if runtime.lower() == 'docker' or runtime.lower() == 'eventstream':
return [DockerRuntime]
elif runtime.lower() == 'remote':
return [RemoteRuntime]
Expand Down

0 comments on commit 73063c8

Please sign in to comment.