Skip to content

Commit 4a5026a

Browse files
author
SentienceDEV
committed
fix tests
1 parent 954c98e commit 4a5026a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_agent_runtime.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def test_init_with_backend(self) -> None:
9999
assert runtime.backend is backend
100100
assert runtime.tracer is tracer
101101
assert runtime.step_id is None
102-
assert runtime.step_index == 0
102+
# 0-based step ids: first begin_step() will produce "step-0"
103+
assert runtime.step_index == -1
103104
assert runtime.last_snapshot is None
104105
assert runtime.is_task_done is False
105106

0 commit comments

Comments
 (0)