Skip to content

feat(core): support custom message separator in get_buffer_string()

f507007
Select commit
Loading
Failed to load commit list.
Merged

feat(core): support custom message separator in get_buffer_string() #34569

feat(core): support custom message separator in get_buffer_string()
f507007
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jan 1, 2026 in 0s

Performance Gate Passed

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

⚡ 10 improvements
✅ 3 untouched
⏩ 21 skipped1

Benchmarks breakdown

Mode Benchmark BASE HEAD Efficiency
WallTime test_import_time[tool] 666.8 ms 529.9 ms +25.84%
WallTime test_import_time[Runnable] 636.1 ms 499.2 ms +27.42%
WallTime test_import_time[RunnableLambda] 625.8 ms 503.9 ms +24.21%
WallTime test_import_time[HumanMessage] 312.3 ms 264.7 ms +17.96%
WallTime test_import_time[Document] 217.7 ms 189.4 ms +14.91%
WallTime test_import_time[InMemoryVectorStore] 790.7 ms 632.2 ms +25.08%
WallTime test_import_time[LangChainTracer] 563.9 ms 458.2 ms +23.07%
WallTime test_import_time[CallbackManager] 588.6 ms 466.4 ms +26.2%
WallTime test_import_time[BaseChatModel] 661.8 ms 538.6 ms +22.89%
WallTime test_import_time[ChatPromptTemplate] 741.8 ms 608.1 ms +22%

Footnotes

  1. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.