Commit Graph

10 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
Brace Sproul d9d219f28d docs[minor]: Update graph init syntax of more docs (#335)
* docs[minor]: Update graph init syntax of more docs

* start updating hierarchial agents ntbk

* updated hierarchical agent doc

* fix type errors

* updated multi agent colab doc

* fixed plan and execute doc

* reflection and rewoo

* remove dep
2024-08-21 17:12:44 -07:00
Isaac Francisco 0524597b40 remove messagegraph (#314) 2024-08-14 07:36:40 -07:00
William FH b245d89a2b REFLECTION BABY (#202) 2024-05-31 08:49:42 -07:00
William FH b04f583998 [Docs] Force call tool first (#163) 2024-05-17 22:30:44 -07:00
Jacob Lee 09a748fe4f Fix nested tracing, update notebooks (#74)
* Fix nested tracing, update notebooks

* Format
2024-02-27 13:06:18 -08:00
Brace Sproul 9829380b76 Reflection notebook (#70) 2024-02-22 13:58:47 -08:00