Skip to content

AttributeError: 'OfficeAgentEnv' object has no attribute 'ctr_name_eval' #3

Description

@baoyihe

I run python agent_interact.py --docker_name officebench --container_name officebench-test --model_name vLLM --task_dir tasks/1-20 --config_file tasks/1-20/subtasks/0.json --tag July24-test --max_iter 20 --mode default
This is the output in terminal:
[INFO] No dataset provided, running in interactive mode
[INFO] Connected to officebench-test container
[INFO] Environment Initialized
[INFO] -------------
Execution Container Reset
COMMAND: /bin/bash -c """ git reset --hard; git clean -fd; """
Traceback (most recent call last):
File "/home/OfficeBench/agent_interact.py", line 112, in
fire.Fire(main)
File "/home/envs/officebench/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/envs/officebench/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/envs/officebench/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/OfficeBench/agent_interact.py", line 66, in main
env.reset()
File "/home/OfficeBench/intercode/envs/ic_env.py", line 140, in reset
self.reset_container()
File "/home/OfficeBench/utils/env.py", line 92, in reset_container
raise RuntimeError(f"Failed to reset {self.ctr_name_eval} container successfully: {output}")
AttributeError: 'OfficeAgentEnv' object has no attribute 'ctr_name_eval'

How can I fix 'OfficeAgentEnv' object has no attribute 'ctr_name_eval'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions