Skip to content

Commit 155b0d1

Browse files
committed
fix tests
1 parent e0b2632 commit 155b0d1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test/human_in_the_loop/test_strategies.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def tools() -> list[Tool]:
5353
def execution_context(tools: list[Tool]) -> _ExecutionContext:
5454
return _ExecutionContext(
5555
state=State(schema={"messages": {"type": list[ChatMessage]}}),
56-
component_visits={"chat_generator": 0, "tool_invoker": 0},
5756
chat_generator_inputs={},
5857
tool_invoker_inputs={"tools": tools},
5958
counter=0,
@@ -481,7 +480,6 @@ def test_confirmation_strategy_context_passed_to_strategy(self, tools):
481480
confirmation_strategy_context = {"event_queue": "mock_queue", "redis_client": "mock_redis"}
482481
execution_context = _ExecutionContext(
483482
state=State(schema={"messages": {"type": list[ChatMessage]}}),
484-
component_visits={"chat_generator": 0, "tool_invoker": 0},
485483
chat_generator_inputs={},
486484
tool_invoker_inputs={"tools": tools},
487485
counter=0,
@@ -508,7 +506,6 @@ async def test_confirmation_strategy_context_passed_to_strategy_async(self, tool
508506
confirmation_strategy_context = {"websocket": "mock_websocket", "request_id": "12345"}
509507
execution_context = _ExecutionContext(
510508
state=State(schema={"messages": {"type": list[ChatMessage]}}),
511-
component_visits={"chat_generator": 0, "tool_invoker": 0},
512509
chat_generator_inputs={},
513510
tool_invoker_inputs={"tools": tools},
514511
counter=0,

0 commit comments

Comments
 (0)