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

feat(sdk): catch tool errors in `ToolErrorHandlingMiddleware`

#2917
Comparing
open-swe/27e7d88a-1def-e225-f041-b61e1a0ae562
(
2544b73
) with
main
(
bff92f1
)
CodSpeed Performance Gauge
-1%
Untouched
32
Skipped
15

Benchmarks

47 total
test_version_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
0%
429.2 ms430.9 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%
211.3 ms212.3 ms
test_no_heavy_imports_on_lightweight_path[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
0%
340.3 ms341.9 ms
test_sessions_import_available
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
0%
200.7 ms201.7 ms
test_no_heavy_imports_on_lightweight_path[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
-1%
191.2 ms192.2 ms
test_module_import_time[config]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
-1%
187 ms188 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%
778.1 ms783 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
-1%
123.3 ms124.1 ms
test_module_import_time[main]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
-1%
211.5 ms213 ms
test_module_import_time[skills.commands]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
-1%
156.2 ms157.3 ms
test_module_import_time[tool_display]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
-1%
191.1 ms192.5 ms
test_no_heavy_imports_on_lightweight_path[file_ops]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportIsolation
CodSpeed Performance Gauge
-1%
142.7 ms143.9 ms
test_agent_import_loads_langchain
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestDeferredImportsWork
CodSpeed Performance Gauge
-1%
3.2 s3.2 s
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
-1%
186.4 ms188 ms
test_module_import_time[ui]
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestImportTiming
CodSpeed Performance Gauge
-1%
339.8 ms342.8 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.3 ms161.7 ms
test_help_under_threshold
libs/cli/tests/integration_tests/benchmarks/test_startup_benchmarks.py::TestCLIStartupTime
CodSpeed Performance Gauge
-1%
574.7 ms579.9 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
-1%
311.5 ms314.5 ms
test_import_configurable_model
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestRuntimePathBenchmarks
CodSpeed Performance Gauge
-1%
676.8 ms684.9 ms
test_import_app
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-1%
85.8 ms86.9 ms
test_import_main
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-1%
9.4 ms9.5 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
-2%
209.7 ms212.9 ms
test_import_tool_display
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-2%
22 ms22.5 ms
test_import_textual_adapter
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-2%
53.6 ms54.7 ms
test_import_config
libs/cli/tests/integration_tests/benchmarks/test_codspeed_import_benchmarks.py::TestStartupPathBenchmarks
CodSpeed Performance Gauge
-2%
17.4 ms17.8 ms

Commits

Click on a commit to change the comparison range
Base
main
bff92f1
-1.41%
feat(sdk): catch tool errors in ToolErrorHandlingMiddleware
2544b73
14 hours ago
by open-swe
© 2026 CodSpeed Technology
Home Terms Privacy Docs