inspect-ai 0.3.86__py3-none-any.whl → 0.3.88__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- inspect_ai/_display/textual/widgets/task_detail.py +4 -4
- inspect_ai/_view/www/dist/assets/index.js +13187 -26014
- inspect_ai/_view/www/log-schema.json +18 -1
- inspect_ai/_view/www/src/api/types.ts +1 -1
- inspect_ai/_view/www/src/samples/transcript/SampleLimitEventView.tsx +3 -3
- inspect_ai/_view/www/src/types/log.d.ts +126 -123
- inspect_ai/_view/www/src/workspace/navbar/ResultsPanel.tsx +1 -1
- inspect_ai/approval/_apply.py +0 -2
- inspect_ai/model/_call_tools.py +11 -1
- inspect_ai/model/_providers/anthropic.py +6 -3
- inspect_ai/tool/_tool_call.py +3 -0
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/METADATA +1 -1
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/RECORD +17 -17
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/WHEEL +0 -0
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/entry_points.txt +0 -0
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/licenses/LICENSE +0 -0
- {inspect_ai-0.3.86.dist-info → inspect_ai-0.3.88.dist-info}/top_level.txt +0 -0
@@ -221,13 +221,13 @@ class TaskMetrics(Widget):
|
|
221
221
|
self.recompute_grid()
|
222
222
|
|
223
223
|
def on_mount(self) -> None:
|
224
|
-
self.recompute_grid
|
224
|
+
self.call_after_refresh(self.recompute_grid)
|
225
225
|
|
226
|
-
def recompute_grid(self
|
227
|
-
if not self.is_mounted
|
226
|
+
def recompute_grid(self) -> None:
|
227
|
+
if not self.is_mounted:
|
228
228
|
return
|
229
|
-
grid = self.query_one(f"#{self.grid_id()}")
|
230
229
|
|
230
|
+
grid = self.query_one(f"#{self.grid_id()}")
|
231
231
|
grid.remove_children()
|
232
232
|
for metric in self.metrics:
|
233
233
|
# Add the value static but keep it around
|