Avatar for the langchain-ai user
langchain-ai
langchain
BlogDocsChangelog

fix(langchain): preserve structured pii redaction in state hooks

#37669Closed
Comparing
Alexxigang:fix/pii-state-hook-redaction
(
9607cdf
) with
master
(
d08245f
)
CodSpeed Performance Gauge
0%
Untouched
2
Skipped
13

Benchmarks

15 total
test_create_agent_instantiation_with_middleware
libs/langchain_v1/tests/benchmarks/test_create_agent.py
CodSpeed Performance Gauge
0%
15.2 ms15.2 ms
test_create_agent_instantiation
libs/langchain_v1/tests/benchmarks/test_create_agent.py
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
Skipped
675.5 ms*
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.5 s*
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
Skipped
815.9 ms*
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.2 s*
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.3 s*
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.4 s*
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.5 s*
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
Skipped
377.5 ms*
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
Skipped
1.7 s*
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
Skipped
59 ms*
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
Skipped
419.7 ms*

Commits

Click on a commit to change the comparison range
Base
master
d08245f
-0.1%
fix(langchain): preserve structured pii redaction in state hooks
9607cdf
9 hours ago
by Alexxigang
© 2026 CodSpeed Technology
Home Terms Privacy Docs