Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix(cua-bench): verbose logs enabled when running tasks in parallel (#1261)

Kai Meif8bf37392365
diff --git a/libs/cua-bench/cua_bench/cli/commands/run.py b/libs/cua-bench/cua_bench/cli/commands/run.py
index 6c4fa55f59..006b7f55a1 100644
--- a/libs/cua-bench/cua_bench/cli/commands/run.py
+++ b/libs/cua-bench/cua_bench/cli/commands/run.py
@@ -1798,6 +1798,7 @@ async def _cmd_run_dataset_async(args) -> int:
cmd,
stdout=log_handle,
stderr=subprocess.STDOUT,
+ start_new_session=True, # Detach from parent so child survives parent exit
env=env_vars,
)
# Close the parent's copy of the fd; the subprocess has its own inherited copy.
diff --git a/libs/python/agent/agent/loops/anthropic.py b/libs/python/agent/agent/loops/anthropic.py
index 75ae2db9c3..e0e087008f 100644
--- a/libs/python/agent/agent/loops/anthropic.py
+++ b/libs/python/agent/agent/loops/anthropic.py
@@ -1816,6 +1816,8 @@ class AnthropicHostedToolsConfig(AsyncAgentConfig):
# Use liteLLM acompletion
response = await litellm.acompletion(**api_kwargs)
+
+ # print(f"[DEBUG][Anthropic Response] response: {response}")
# Call API end hook
if _on_api_end: