Skip to content

Commit 4c22029

Browse files
authored
Merge pull request #148 from SentienceAPI/minor_fix
minor_fix
2 parents 5e46080 + 4981292 commit 4c22029

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/asserts/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Run examples:
99

1010
```bash
1111
cd sdk-python
12-
python examples/asserts/v1_state_assertions.py
13-
python examples/asserts/v2_eventually_min_confidence.py
14-
python examples/asserts/v2_vision_fallback.py
12+
python examples/asserts/state_assertions.py
13+
python examples/asserts/eventually_min_confidence.py
14+
python examples/asserts/vision_fallback.py
1515
```

sentience/agent_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def assert_done(
341341
True if task is complete (assertion passed), False otherwise
342342
"""
343343
# Convenience wrapper for assert_ with required=True
344-
ok = self.assertTrue(predicate, label=label, required=True)
344+
ok = self.assert_(predicate, label=label, required=True)
345345
if ok:
346346
self._task_done = True
347347
self._task_done_label = label

0 commit comments

Comments
 (0)