Commit Graph

26 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
Saba Tchikhinashvili d0a0fa3930 doc: missing dependency in self rag tutorial (#1351) 2025-07-07 11:35:35 +00:00
Saba Tchikhinashvili c1ad445184 docs: fix tavily deprecated warning on crag (#1350) 2025-07-07 11:34:56 +00:00
vivid 8d867cfb74 fix(docs): crag wrong tool invocation (#836)
Co-authored-by: seonmyung.lim <seonmyung.lim@adriel.ai>
2025-02-03 18:27:43 -08:00
Vadym Barda 0f7d259e2a docs: fix a broken link (#808) 2025-01-27 18:10:51 +00:00
Greyson Thao b460d1cd23 fix(docs): added missing dependency in tutorial by adding @langchain/langgraph (#688) 2024-11-25 11:01:45 -08:00
Jacob Lee 7d9f5d991c docs: Adds compatibility section to streaming docs (#669) 2024-11-11 17:10:05 -08:00
Leon van Zyl 6943c50607 Update langgraph_agentic_rag.ipynb (#540) 2024-10-02 19:27:43 -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
bracesproul e77a8eade7 docs[patch]: Re-run to remove unexpected rebuildtimer errors 2024-08-22 15:29:36 -07:00
Brace Sproul 82ab0a5852 docs[minor]: Update init syntax for RAG docs (#339) 2024-08-22 14:13:41 -07:00
Isaac Francisco 0524597b40 remove messagegraph (#314) 2024-08-14 07:36:40 -07:00
Vadym Barda 025af13f25 docs: better how-tos structure + add streaming how-tos (#252)
---------

Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com>
2024-07-11 15:34:54 -04:00
Jacob Lee 4b421992e8 Adds adaptive RAG tutorial (#226)
* Adds adaptive RAG tutorial

* Update with traces

* Bump

* Add to mkdocs.yml

* Copy to scripts
2024-06-20 11:08:09 -07:00
Jacob Lee 5fbdcd1441 Remove deprecated method in examples (#215) 2024-06-14 11:09:30 -07:00
William FH 1ff51500ba [Docs] More tutorial cleanup (#195) 2024-05-31 02:41:45 -07:00
William FH 0ef76d603b fmg (#194) 2024-05-30 11:57:36 -07:00
William FH c17925d680 [Docs] Compile more tutorials (RAG)(#193)
Fix up typescript issues and broken code
2024-05-30 10:47:35 -07:00
William FH a96a9a4a34 [Docs] Run TSC on HOWTOs + README (#191) 2024-05-30 06:57:51 -07:00
William FH b04f583998 [Docs] Force call tool first (#163) 2024-05-17 22:30:44 -07:00
abin e1de33cde8 The retrieve method adds the missing parameter config (#83)
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2024-03-11 11:25:21 -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 4d032736bd Rag examples (#55)
* Rag examples

* cr

* cr

* cr

* cr

* crag

* cr

* Kinda working?

* agentic rag!

* crag mistral

* rm py notebook

* cr
2024-02-16 08:32:30 -08:00