mirror of
https://github.com/usestrix/strix.git
synced 2026-08-16 09:26:39 +02:00
fix: convert tool_executions.items() to list for stable iteration
This commit is contained in:
committed by
Ahmed Allam
parent
8781808eb5
commit
d6ec2e7b11
@@ -793,7 +793,7 @@ class StrixTUIApp(App): # type: ignore[misc]
|
||||
"id": f"tool_{exec_id}",
|
||||
"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
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user