Merge branch 'main' into test

This commit is contained in:
Teknium
2025-11-04 19:54:40 -08:00
committed by GitHub
4 changed files with 228 additions and 64 deletions

View File

@@ -166,9 +166,9 @@ def _process_single_prompt(
verbose_logging=config.get("verbose", False),
ephemeral_system_prompt=config.get("ephemeral_system_prompt")
)
# Run the agent
result = agent.run_conversation(prompt)
# Run the agent with task_id to ensure each task gets its own isolated VM
result = agent.run_conversation(prompt, task_id=f"task_{prompt_index}")
# Extract tool usage statistics
tool_stats = _extract_tool_stats(result["messages"])