Commit Graph

13 Commits

Author SHA1 Message Date
Hunter Lovell 9102d526c8 fix(langgraph): propagate tracer metadata defaults from configurable (#2315)
## Summary

This updates Pregel callback manager initialization to pass
`tracerInheritableMetadata` defaults derived from `config.configurable`,
and narrows `ensureLangGraphConfig` metadata mirroring to the
allowlisted LangGraph identifiers used in stream/runtime metadata.

## Changes

### `@langchain/langgraph` (`libs/langgraph-core`)

- Updated Pregel callback manager setup to configure core callbacks with
`tracerInheritableMetadata` based on configurable primitive values,
excluding internal and secret-like keys.
- Hoisted tracing default logic into `_getTracingMetadataDefaults` and
`_excludeAsMetadata` for parity with the Python implementation shape.
- Restricted `ensureLangGraphConfig` configurable-to-metadata
propagation to the identifier allowlist:
  - `thread_id`
  - `checkpoint_id`
  - `checkpoint_ns`
  - `task_id`
  - `run_id`
  - `assistant_id`
  - `graph_id`
- Updated config tests to assert the narrowed metadata propagation
behavior.
2026-04-15 18:48:41 -07:00
Christian Bromann 2b62610710 feat(sdk): support for headless tools (#2281) 2026-04-03 22:07:54 -07:00
dependabot[bot] 271f9750f0 chore(deps): bump the langchain group across 1 directory with 7 updates (#2270)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 23:59:19 -07:00
Hunter Lovell 1e1ecbbcf8 feat: merge v1 (#1733)
Co-authored-by: Tat Dat Duong <david@duong.cz>
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-17 16:34:43 -07:00
穿过光纤 b6063a9674 docs: Fix typo (#719) 2024-12-10 03:07:16 +00:00
Kostas Minaidis cbb653bd33 docs: Fix typo (#683) 2024-11-22 05:23:45 +00:00
Jacob Lee 9cfc6d6c69 docs: Adds further reading section to chatbot tutorial (#468) 2024-09-10 15:28:33 -07:00
Jacob Lee 6304a42e86 docs: Update small model customer support notebook (#463) 2024-09-05 21:14:14 -07:00
Jacob Lee 547b4a88e8 langgraph[minor]: 0.2, make @langchain/core a peer dependency to avoid conflicts (#431)
Co-authored-by: Isaac Francisco <78627776+isahers1@users.noreply.github.com>
2024-09-02 18:29:14 -07:00
Jacob Lee 5fbdcd1441 Remove deprecated method in examples (#215) 2024-06-14 11:09:30 -07:00
William FH b04f583998 [Docs] Force call tool first (#163) 2024-05-17 22:30:44 -07:00
Jacob Lee d55f457182 Update customer support notebook (#106) 2024-03-27 15:03:06 -07:00
Jacob Lee 3996c22b97 Adds tool calling chatbot notebook (#105)
* Adds tool calling chatbot notebook

* Add customer support chatbot example
2024-03-27 14:55:14 -07:00