fix: convert tool_executions.items() to list for stable iteration
This commit is contained in:
committed by
Ahmed Allam
parent
f25cf9b23d
commit
62cca3f149
@@ -793,7 +793,7 @@ class StrixTUIApp(App): # type: ignore[misc]
|
|||||||
"id": f"tool_{exec_id}",
|
"id": f"tool_{exec_id}",
|
||||||
"data": tool_data,
|
"data": tool_data,
|
||||||
}
|
}
|
||||||
for exec_id, tool_data in self.tracer.tool_executions.items()
|
for exec_id, tool_data in list(self.tracer.tool_executions.items())
|
||||||
if tool_data.get("agent_id") == agent_id
|
if tool_data.get("agent_id") == agent_id
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user