mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-05 02:31:47 +00:00
wip: run tb2 and fix modal instantiation
This commit is contained in:
parent
3baafea380
commit
3befb9389f
7 changed files with 90 additions and 23 deletions
|
|
@ -214,6 +214,7 @@ def _get_file_ops(task_id: str = "default") -> ShellFileOperations:
|
|||
image = ""
|
||||
|
||||
cwd = overrides.get("cwd") or config["cwd"]
|
||||
add_python = overrides.get("add_python")
|
||||
logger.info("Creating new %s environment for task %s...", env_type, task_id[:8])
|
||||
|
||||
container_config = None
|
||||
|
|
@ -252,6 +253,7 @@ def _get_file_ops(task_id: str = "default") -> ShellFileOperations:
|
|||
local_config=local_config,
|
||||
task_id=task_id,
|
||||
host_cwd=config.get("host_cwd"),
|
||||
add_python=add_python,
|
||||
)
|
||||
|
||||
with _env_lock:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue