langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(core): clear usage metadata callback on with-block exceptions get_usage_metadata_callback set the ContextVar and only cleared it after yield. When the with-block raised, cleanup was skipped and later model calls kept accumulating into the previous callback. Use try/finally with ContextVar.reset, matching sibling tracers.context helpers, and add a regression test. Fixes #38989
Solaris-star:fix/38989-usage-callback-finally
6 hours ago
fix(core): preserve non-str/non-dict items in `DictPromptTemplate` list values (#39588)
master
6 hours ago
fix(core): preserve non-str/non-dict items in `DictPromptTemplate` list values `_insert_input_variables` handled `str` and `dict` items inside list values but had no fallback for other types, so `int`, `float`, `bool`, `None`, and nested lists were silently discarded. Add an `else` branch that passes unrecognised items through unchanged, and widen the `formatted_v` type to `list[Any]` to match. Closes #39152 Prepared with AI assistance (Claude Code, Anthropic), reviewed for correctness before submission.
zerafachris:zerafachris/core/fix-dict-prompt-template-list-passthrough
6 hours ago
fix(core): honor wrapped callable signatures
mdrxy/core/structured-tool-postponed-annotations
7 hours ago
fix(core): resolve injected hints for callable objects
mdrxy/core/structured-tool-postponed-annotations
7 hours ago
fix(core): harden injected argument hint resolution
mdrxy/core/structured-tool-postponed-annotations
8 hours ago
fix(core): resolve injected-arg hints per parameter when wholesale resolution fails
mdrxy/core/structured-tool-postponed-annotations
8 hours ago
fix(core): raise ValueError when explicit tool_outputs length mismatches tool_calls in tool_example_to_messages (#39142)
master
8 hours ago
Latest Branches
CodSpeed Performance Gauge
+1%
fix(core): clear usage metadata callback on with-block exceptions
#38993
22 days ago
7cbfd12
Solaris-star:fix/38989-usage-callback-finally
CodSpeed Performance Gauge
0%
fix(core): preserve non-str/non-dict items in `DictPromptTemplate` list values
#39588
17 hours ago
1ea4e33
zerafachris:zerafachris/core/fix-dict-prompt-template-list-passthrough
CodSpeed Performance Gauge
+1%
fix(core): resolve postponed annotations in `StructuredTool._injected_args_keys`
#39602
7 hours ago
2932b0d
mdrxy/core/structured-tool-postponed-annotations
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs