Skip to content

Commit ac58d75

Browse files
fix(langchain_v1): remove thread_model_call_count and run_model_call_count from tool node test (#33725)
While working on ToolRuntime in TS I discovered that Python still uses `thread_model_call_count` and `run_model_call_count` in ToolNode tests which afaik we removed.
1 parent 28564ef commit ac58d75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libs/langchain_v1/tests/unit_tests/agents/middleware/test_wrap_model_call_middleware.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ def wrap_model_call(self, request, handler):
380380
# Access state from request
381381
state_values.append(
382382
{
383-
"thread_model_call_count": request.state.get("thread_model_call_count", 0),
384383
"messages_count": len(request.state.get("messages", [])),
385384
}
386385
)

0 commit comments

Comments
 (0)