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

fix(sdk): align MemoryMiddleware prompt with investigate-first agent behavior

#2461
Comparing
AdemBoukhris457:fix/sdk-memory-prompt-priority
(
429068a
) with
main
(
26647a3
)
CodSpeed Performance Gauge
0%
Untouched
32
Skipped
15

Benchmarks

47 total
test_module_import_time[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
334.1 ms331.7 ms
test_no_heavy_imports_on_lightweight_path[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
160.5 ms159.5 ms
test_module_import_time[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
191 ms189.8 ms
test_no_heavy_imports_on_lightweight_path[textual_adapter]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
+1%
777.8 ms773 ms
test_help_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
+1%
558.1 ms554.8 ms
test_module_import_time[main]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
+1%
211.6 ms210.4 ms
test_configurable_model_middleware_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
+1%
3.1 s3.1 s
test_module_import_time[config]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
186.1 ms185.2 ms
test_no_heavy_imports_on_lightweight_path[_ask_user_types]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
311.9 ms310.4 ms
test_version_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
353.8 ms352.1 ms
test_no_heavy_imports_on_lightweight_path[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
333.3 ms331.8 ms
test_no_heavy_imports_on_lightweight_path[main.check_cli_dependencies]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
211.2 ms210.4 ms
test_no_heavy_imports_on_lightweight_path[config.is_ascii_mode]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
186.1 ms185.4 ms
test_sessions_import_available
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
201.4 ms200.6 ms
test_no_heavy_imports_on_lightweight_path[_cli_context.CLIContext]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
123.1 ms122.7 ms
test_module_import_time[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
0%
156.2 ms155.7 ms
test_no_heavy_imports_on_lightweight_path[file_ops]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
142.7 ms142.3 ms
test_ask_user_middleware_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
2.1 s2.1 s
test_import_configurable_model
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
0%
666.1 ms664.7 ms
test_no_heavy_imports_on_lightweight_path[main.parse_args]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
210.9 ms210.5 ms
test_import_ask_user
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
0%
536.2 ms535.8 ms
test_import_app
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
76.7 ms76.6 ms
test_no_heavy_imports_on_lightweight_path[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
190.2 ms190.1 ms
test_import_textual_adapter
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
53 ms53 ms
test_import_tool_display
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
0%
21.2 ms21.3 ms

Commits

Click on a commit to change the comparison range
Base
main
26647a3
+0.11%
fix(sdk): rebalance memory middleware prompt for trust and investigate-first
429068a
2 days ago
by AdemBoukhris457
© 2026 CodSpeed Technology
Home Terms Privacy Docs