Skip to content

Commit 908d3ef

Browse files
author
SentienceDEV
committed
updated trace schema and fix
1 parent dda88b1 commit 908d3ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sentience/agent_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def assert_done(
579579
True if task is complete (assertion passed), False otherwise
580580
"""
581581
# Convenience wrapper for assert_ with required=True
582-
ok = self.assertTrue(predicate, label=label, required=True)
582+
ok = self.assert_(predicate, label=label, required=True)
583583
if ok:
584584
self._task_done = True
585585
self._task_done_label = label

sentience/schemas/trace_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
"type": "object",
221221
"required": ["kind"],
222222
"properties": {
223-
"kind": {"type": "string", "enum": ["click", "type", "press", "finish", "navigate"]},
223+
"kind": {"type": "string", "enum": ["click", "type", "press", "finish", "navigate", "scroll"]},
224224
"element_id": {"type": "integer"},
225225
"text": {"type": "string"},
226226
"key": {"type": "string"},

0 commit comments

Comments
 (0)