# \#js-help

**URL:** https://forum.langchain.com/tag/js-help/11.md

[Latest](https://forum.langchain.com/latest.md) · [Categories](https://forum.langchain.com/categories.md) · [Tags](https://forum.langchain.com/tags.md)

---

## [\[JS\] @langchain/qdrant: add a hybrid retrieval mode (parity with langchain-qdrant for Python)](https://forum.langchain.com/t/js-langchain-qdrant-add-a-hybrid-retrieval-mode-parity-with-langchain-qdrant-for-python/5041)

<div class="topic-metadata">

**Author:** [@valeriocomo](https://forum.langchain.com/u/valeriocomo)\
**Replies:** 6\
**Last updated:** [November 19, 2026, 8:02am UTC](https://forum.langchain.com/t/js-langchain-qdrant-add-a-hybrid-retrieval-mode-parity-with-langchain-qdrant-for-python/5041 "2026-11-19T08:02:56Z")

</div>

Summary Since July 2024 the Python QdrantVectorStore has a retrieval\_mode option, with dense, sparse and hybrid modes (langchain#24164). @langchain/qdrant for JS (1.0.3) still writes and queries a single unnamed dense ve…

---

## [Should I choose typescript or python for this project , as I have experience in JS](https://forum.langchain.com/t/should-i-choose-typescript-or-python-for-this-project-as-i-have-experience-in-js/5255)

<div class="topic-metadata">

**Author:** [@Prad\_S](https://forum.langchain.com/u/Prad_S)\
**Replies:** 5\
**Last updated:** [November 17, 2026, 12:04am UTC](https://forum.langchain.com/t/should-i-choose-typescript-or-python-for-this-project-as-i-have-experience-in-js/5255 "2026-11-17T00:04:42Z")

</div>

I’m building a production-level multi-agent system that automates software development workflows — from understanding development tickets and analyzing codebases to writing code inside isolated Docker sandboxes, running …

---

## [DeepAgents summarization can produce an empty summary when a single tool result exceeds trimTokensToSummarize](https://forum.langchain.com/t/deepagents-summarization-can-produce-an-empty-summary-when-a-single-tool-result-exceeds-trimtokenstosummarize/4751)

<div class="topic-metadata">

**Author:** [@Abilash](https://forum.langchain.com/u/Abilash)\
**Replies:** 2\
**Last updated:** [November 4, 2026, 3:27pm UTC](https://forum.langchain.com/t/deepagents-summarization-can-produce-an-empty-summary-when-a-single-tool-result-exceeds-trimtokenstosummarize/4751 "2026-11-04T15:27:06Z")

</div>

Problem We’re seeing agent runs terminate with a summarization result such as: There's no prior conversation content in this thread to summarize. even though the thread contains substantial conversation history and mu…

---

## [Finding reviewers for three LangChain.js provider fixes](https://forum.langchain.com/t/finding-reviewers-for-three-langchain-js-provider-fixes/4835)

<div class="topic-metadata">

**Author:** [@mbarinov](https://forum.langchain.com/u/mbarinov)\
**Replies:** 1\
**Last updated:** [October 30, 2026, 5:46pm UTC](https://forum.langchain.com/t/finding-reviewers-for-three-langchain-js-provider-fixes/4835 "2026-10-30T17:46:19Z")

</div>

Hi! I have three bug-fix PRs in langchain-ai/langchainjs awaiting review: #11889 — Ollama standard image content blocks: supports standard image inputs in ChatOllama. #11900 — xAI streaming token usage: fixes double-co…

---

## [Feature request: support reasoning effort in ChatMistralAI (JavaScript)](https://forum.langchain.com/t/feature-request-support-reasoning-effort-in-chatmistralai-javascript/4982)

<div class="topic-metadata">

**Author:** [@Arnall](https://forum.langchain.com/u/Arnall)\
**Replies:** 0\
**Last updated:** [October 30, 2026, 1:04pm UTC](https://forum.langchain.com/t/feature-request-support-reasoning-effort-in-chatmistralai-javascript/4982 "2026-10-30T13:04:34Z")

</div>

Hi everyone, I’d like to propose exposing a typed reasoningEffort option in the JavaScript ChatMistralAI integration. The Mistral SDK exposes this request parameter, but @langchain/mistralai 1.2.0 does not expose it th…

---

## [Feature request: support standard image and file content blocks in ChatMistralAI (JavaScript)](https://forum.langchain.com/t/feature-request-support-standard-image-and-file-content-blocks-in-chatmistralai-javascript/4981)

<div class="topic-metadata">

**Author:** [@Arnall](https://forum.langchain.com/u/Arnall)\
**Replies:** 0\
**Last updated:** [October 30, 2026, 12:57pm UTC](https://forum.langchain.com/t/feature-request-support-standard-image-and-file-content-blocks-in-chatmistralai-javascript/4981 "2026-10-30T12:57:42Z")

</div>

Hi everyone, I’d like to propose adding support for LangChain’s standard image and file content blocks to the JavaScript ChatMistralAI integration. Use Case Applications that work with multiple model providers benefit …

---

## [Proposal: governed collective-decision reference application for LangGraph](https://forum.langchain.com/t/proposal-governed-collective-decision-reference-application-for-langgraph/4907)

<div class="topic-metadata">

**Author:** [@Buffalo2024](https://forum.langchain.com/u/Buffalo2024)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 4:36pm UTC](https://forum.langchain.com/t/proposal-governed-collective-decision-reference-application-for-langgraph/4907 "2026-10-27T16:36:06Z")

</div>

Problem LangGraph provides graph execution, state, routing, persistence, and human-in-the-loop primitives. A multi-agent decision graph can still accept malformed carriers, merge incompatible candidates, allow a reviewer…

---

## [There is no way to use custom filters like \`@\>\` with \`PGVectorStore\`](https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594)

<div class="topic-metadata">

**Author:** [@wbyoung](https://forum.langchain.com/u/wbyoung)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 4:31pm UTC](https://forum.langchain.com/t/there-is-no-way-to-use-custom-filters-like-with-pgvectorstore/4594 "2026-10-27T16:31:45Z")

</div>

It appears that it would be easy to subclass PGVectorStore and add support for custom operations via the filters if the buildFilterClauses method were not private. I’m new to the community. Is this the right place to di…

---

## [How to stream a JSON by using a chat provider?](https://forum.langchain.com/t/how-to-stream-a-json-by-using-a-chat-provider/1638)

<div class="topic-metadata">

**Author:** [@daniel-style](https://forum.langchain.com/u/daniel-style)\
**Replies:** 3\
**Last updated:** [October 27, 2026, 3:19pm UTC](https://forum.langchain.com/t/how-to-stream-a-json-by-using-a-chat-provider/1638 "2026-10-27T15:19:46Z")

</div>

I want to use ChatAnthropic for the streaming output of Json, but it seems not supported? Here is my sample code, the Json is not streamed, and it was the last to come out. const model = new ChatAnthropic({ model: "…

---

## [How to handle growing checkpoint blob?](https://forum.langchain.com/t/how-to-handle-growing-checkpoint-blob/4448)

<div class="topic-metadata">

**Author:** [@hks](https://forum.langchain.com/u/hks)\
**Replies:** 3\
**Last updated:** [September 23, 2026, 2:08pm UTC](https://forum.langchain.com/t/how-to-handle-growing-checkpoint-blob/4448 "2026-09-23T14:08:46Z")

</div>

I’m using open-source LangGraph with PostgresSaver and durability: "exit". The checkpoints table looks fine for my use case since I’m seeing roughly one checkpoint per chat request. The issue is that checkpoint\_blobs ke…

---

## [Is support for MarkdownHeaderTextSplitter coming for Langchain-JS?](https://forum.langchain.com/t/is-support-for-markdownheadertextsplitter-coming-for-langchain-js/4516)

<div class="topic-metadata">

**Author:** [@michielvaneerd](https://forum.langchain.com/u/michielvaneerd)\
**Replies:** 1\
**Last updated:** [September 9, 2026, 4:40pm UTC](https://forum.langchain.com/t/is-support-for-markdownheadertextsplitter-coming-for-langchain-js/4516 "2026-09-09T16:40:54Z")

</div>

I see the Python Langchain supports the MarkdownHeaderTextSplitter which is needed keep the header hierarchy when chunking documents. But the Javascript Langchain does not seem to support this. Is this something that is …

---

## [Refreshing event stream using langchain/react use stream replays old checkpoints](https://forum.langchain.com/t/refreshing-event-stream-using-langchain-react-use-stream-replays-old-checkpoints/4341)

<div class="topic-metadata">

**Author:** [@reecemillsom](https://forum.langchain.com/u/reecemillsom)\
**Replies:** 5\
**Last updated:** [August 17, 2026, 8:39am UTC](https://forum.langchain.com/t/refreshing-event-stream-using-langchain-react-use-stream-replays-old-checkpoints/4341 "2026-08-17T08:39:31Z")

</div>

Support request: v2 protocol event replay on reconnect/first-subscribe degrades UI state (self-hosted LangGraph + @langchain/react useStream) Description We’re migrating our chat frontend to @langchain/react’s useStream …

---

## [Help Needed : Best practices for client-side metadata filtering in custom checkpoint implementations?](https://forum.langchain.com/t/help-needed-best-practices-for-client-side-metadata-filtering-in-custom-checkpoint-implementations/4260)

<div class="topic-metadata">

**Author:** [@404paras](https://forum.langchain.com/u/404paras)\
**Replies:** 4\
**Last updated:** [August 1, 2026, 9:50am UTC](https://forum.langchain.com/t/help-needed-best-practices-for-client-side-metadata-filtering-in-custom-checkpoint-implementations/4260 "2026-08-01T09:50:48Z")

</div>

Hi LangGraph team, I’m implementing a custom BaseCheckpointSaver for a database that doesn’t support JSON path queries on large text columns (similar to how older database versions lack JSON support). Context: My dat…

---

## [Implement or declare extended capabilities in BaseCheckpointSaver](https://forum.langchain.com/t/implement-or-declare-extended-capabilities-in-basecheckpointsaver/4264)

<div class="topic-metadata">

**Author:** [@eddienubes](https://forum.langchain.com/u/eddienubes)\
**Replies:** 2\
**Last updated:** [July 30, 2026, 10:52am UTC](https://forum.langchain.com/t/implement-or-declare-extended-capabilities-in-basecheckpointsaver/4264 "2026-07-30T10:52:15Z")

</div>

Hi guys! I’ve been looking for a documented way to copy a thread and stumbled across the documented “extended capabilities” to: adelete\_for\_runs acopy\_thread aprune aget\_delta\_channel\_history at Checkpointers - Docs …

---

## [Feature Request: Pass \_meta through to MCP \`callTool()\` in \`@langchain/mcp-adapters\`](https://forum.langchain.com/t/feature-request-pass-meta-through-to-mcp-calltool-in-langchain-mcp-adapters/4225)

<div class="topic-metadata">

**Author:** [@star67](https://forum.langchain.com/u/star67)\
**Replies:** 3\
**Last updated:** [July 25, 2026, 2:34pm UTC](https://forum.langchain.com/t/feature-request-pass-meta-through-to-mcp-calltool-in-langchain-mcp-adapters/4225 "2026-07-25T14:34:31Z")

</div>

Problem There is a \_meta filed per MCP \_meta specification: The \`\_meta\` property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions. Currently @langchain/mcp…

---

## [Improve. the definition structure](https://forum.langchain.com/t/improve-the-definition-structure/4222)

<div class="topic-metadata">

**Author:** [@SheikhAriful](https://forum.langchain.com/u/SheikhAriful)\
**Replies:** 3\
**Last updated:** [July 22, 2026, 11:04pm UTC](https://forum.langchain.com/t/improve-the-definition-structure/4222 "2026-07-22T23:04:52Z")

</div>

I think LangChain should improve its tool definition structure, like the Vercel AI SDK. This structure is cleaner and JavaScript-friendly. example: \`\`\`const weatherTool = tool({ name: “get weather”, description: ‘Get…

---

## [Feature Request: Support OpenAI GPT-5.6 Explicit Prompt Cache Breakpoints in @langchain/openai](https://forum.langchain.com/t/feature-request-support-openai-gpt-5-6-explicit-prompt-cache-breakpoints-in-langchain-openai/4200)

<div class="topic-metadata">

**Author:** [@KurtzOmer](https://forum.langchain.com/u/KurtzOmer)\
**Replies:** 3\
**Last updated:** [July 22, 2026, 12:53pm UTC](https://forum.langchain.com/t/feature-request-support-openai-gpt-5-6-explicit-prompt-cache-breakpoints-in-langchain-openai/4200 "2026-07-22T12:53:30Z")

</div>

Feature Request: Support OpenAI GPT-5.6 Explicit Prompt Cache Breakpoints in @langchain/openai Summary OpenAI GPT-5.6 introduces explicit prompt cache breakpoints, allowing applications to precisely control which parts o…

---

## [Help Needed: MongoDB Checkpoints Collection Growing Too Large](https://forum.langchain.com/t/help-needed-mongodb-checkpoints-collection-growing-too-large/2121)

<div class="topic-metadata">

**Author:** [@Nikfury](https://forum.langchain.com/u/Nikfury)\
**Replies:** 5\
**Last updated:** [July 10, 2026, 4:09pm UTC](https://forum.langchain.com/t/help-needed-mongodb-checkpoints-collection-growing-too-large/2121 "2026-07-10T16:09:53Z")

</div>

Problem Description I’m experiencing significant storage issues with the LangGraph MongoDB checkpointer. The checkpoints collection is growing far beyond expected size and consuming excessive storage. Current Situation …

---

## [System Design: Why In-App Budget Handlers Fail in Production Multi-Agent Systems](https://forum.langchain.com/t/system-design-why-in-app-budget-handlers-fail-in-production-multi-agent-systems/4082)

<div class="topic-metadata">

**Author:** [@DeboJolaosho](https://forum.langchain.com/u/DeboJolaosho)\
**Replies:** 2\
**Last updated:** [July 4, 2026, 1:54pm UTC](https://forum.langchain.com/t/system-design-why-in-app-budget-handlers-fail-in-production-multi-agent-systems/4082 "2026-07-04T13:54:04Z")

</div>

Most production implementations of autonomous agents rely on application-level logic to prevent token-drain loops: Injecting custom callback handlers into CrewAI/LangChain loops. Tracking state metrics inside an extern…

---

## [Seeking Feedback & Collaboration: Talordata - A Multi-Engine SERP API for LangChain Agents & RAG Workflows](https://forum.langchain.com/t/seeking-feedback-collaboration-talordata-a-multi-engine-serp-api-for-langchain-agents-rag-workflows/4065)

<div class="topic-metadata">

**Author:** [@TensorVoyager](https://forum.langchain.com/u/TensorVoyager)\
**Replies:** 0\
**Last updated:** [June 30, 2026, 1:26pm UTC](https://forum.langchain.com/t/seeking-feedback-collaboration-talordata-a-multi-engine-serp-api-for-langchain-agents-rag-workflows/4065 "2026-06-30T13:26:45Z")

</div>

Hi everyone, I’ve been working with LangChain (and LangGraph) for building agents and RAG systems. One pain point I often encounter is the cost and single-engine limitation of existing search tools (like Tavily, Serper,…

---

## [Blocking spend at execution layer — is there a pre-call hook in AgentExecutor?](https://forum.langchain.com/t/blocking-spend-at-execution-layer-is-there-a-pre-call-hook-in-agentexecutor/3985)

<div class="topic-metadata">

**Author:** [@DeboJolaosho](https://forum.langchain.com/u/DeboJolaosho)\
**Replies:** 0\
**Last updated:** [June 19, 2026, 8:33pm UTC](https://forum.langchain.com/t/blocking-spend-at-execution-layer-is-there-a-pre-call-hook-in-agentexecutor/3985 "2026-06-19T20:33:31Z")

</div>

Something I’ve been thinking about that I haven’t seen addressed in LangChain yet — there’s no standard execution-layer hook for blocking spend before a tool call fires. The callback system (on\_tool\_start, on\_llm\_start)…

---

## [What is wrong with Langchain frontend sdk](https://forum.langchain.com/t/what-is-wrong-with-langchain-frontend-sdk/3914)

<div class="topic-metadata">

**Author:** [@AmgadEbaid](https://forum.langchain.com/u/AmgadEbaid)\
**Replies:** 15\
**Last updated:** [June 16, 2026, 12:33am UTC](https://forum.langchain.com/t/what-is-wrong-with-langchain-frontend-sdk/3914 "2026-06-16T00:33:26Z")

</div>

I have a backend with custome endpoint that returns the correct sse format for langchain agent And when i use this endpoint with langchain frontend sdk with react or next js I noticed that it loses all the previous con…

---

## [\[Feature\] : Add ArabicTextSplitter with proper Arabic language boundary handling](https://forum.langchain.com/t/feature-add-arabictextsplitter-with-proper-arabic-language-boundary-handling/3888)

<div class="topic-metadata">

**Author:** [@KMalek101](https://forum.langchain.com/u/KMalek101)\
**Replies:** 0\
**Last updated:** [June 7, 2026, 10:22pm UTC](https://forum.langchain.com/t/feature-add-arabictextsplitter-with-proper-arabic-language-boundary-handling/3888 "2026-06-07T22:22:23Z")

</div>

Current text splitters are designed for English and don’t handle Arabic-specific characters correctly — Arabic punctuation (،, ؟, ؛), kashida (ـ), and diacritics cause incorrect chunk boundaries in Arabic RAG pipelines. …

---

## [Proposal: Add an example for handling line-number hallucinations in AI Code Review workflows](https://forum.langchain.com/t/proposal-add-an-example-for-handling-line-number-hallucinations-in-ai-code-review-workflows/3865)

<div class="topic-metadata">

**Author:** [@ywu593412-afk](https://forum.langchain.com/u/ywu593412-afk)\
**Replies:** 0\
**Last updated:** [June 3, 2026, 7:01pm UTC](https://forum.langchain.com/t/proposal-add-an-example-for-handling-line-number-hallucinations-in-ai-code-review-workflows/3865 "2026-06-03T19:01:20Z")

</div>

Hi team, Lately, I’ve been experimenting with building automated code review workflows using LangChain components. A very persistent pain point in production is that LLMs frequently leave comments on lines that don’t ac…

---

## [Beginner questions & Troubleshooting: RAG Best practices for Mail Automation](https://forum.langchain.com/t/beginner-questions-troubleshooting-rag-best-practices-for-mail-automation/3818)

<div class="topic-metadata">

**Author:** [@KyroSaru](https://forum.langchain.com/u/KyroSaru)\
**Replies:** 1\
**Last updated:** [June 1, 2026, 8:13pm UTC](https://forum.langchain.com/t/beginner-questions-troubleshooting-rag-best-practices-for-mail-automation/3818 "2026-06-01T20:13:44Z")

</div>

Hi! I am quite new to the world of LLMs and AI. Because of the current information overload on the web (contradictory advice, outdated documentation, etc.), I am struggling to separate the signal from the noise and find…

---

## [Discussion about why LangGraph JS ToolNode doesn’t inject ToolRuntime.state like Python does, and what the correct workaround or intended design pattern is.](https://forum.langchain.com/t/discussion-about-why-langgraph-js-toolnode-doesn-t-inject-toolruntime-state-like-python-does-and-what-the-correct-workaround-or-intended-design-pattern-is/3483)

<div class="topic-metadata">

**Author:** [@Idrees](https://forum.langchain.com/u/Idrees)\
**Replies:** 5\
**Last updated:** [May 21, 2026, 7:15pm UTC](https://forum.langchain.com/t/discussion-about-why-langgraph-js-toolnode-doesn-t-inject-toolruntime-state-like-python-does-and-what-the-correct-workaround-or-intended-design-pattern-is/3483 "2026-05-21T19:15:33Z")

</div>

Hi team :waving\_hand:, I’m seeing a difference in how ToolRuntime / state is handled between Python and JS in LangGraph and wanted clarification. :magnifying\_glass\_tilted\_left: Observation In Python, ToolNode explici…

---

## [I try to invoke my fleet agent but seems like my Next.js code can't read my api\_key environment variable so i get 401 unauthenticated error](https://forum.langchain.com/t/i-try-to-invoke-my-fleet-agent-but-seems-like-my-next-js-code-cant-read-my-api-key-environment-variable-so-i-get-401-unauthenticated-error/3741)

<div class="topic-metadata">

**Author:** [@AmineAouragh](https://forum.langchain.com/u/AmineAouragh)\
**Replies:** 7\
**Last updated:** [May 21, 2026, 5:30pm UTC](https://forum.langchain.com/t/i-try-to-invoke-my-fleet-agent-but-seems-like-my-next-js-code-cant-read-my-api-key-environment-variable-so-i-get-401-unauthenticated-error/3741 "2026-05-21T17:30:00Z")

</div>

i’m trying to invoke my Fleet agent from my website but i always get an “unauthenticated” HTTP 401 error even if my langgraph\_api\_key, agent\_id and api\_url are all correctly set as env variables in my .env.local file i’…

---

## [LangMem support in JS/TS](https://forum.langchain.com/t/langmem-support-in-js-ts/1982)

<div class="topic-metadata">

**Author:** [@g-abani](https://forum.langchain.com/u/g-abani)\
**Replies:** 1\
**Last updated:** [May 5, 2026, 5:00pm UTC](https://forum.langchain.com/t/langmem-support-in-js-ts/1982 "2026-05-05T17:00:53Z")

</div>

I came across the LangMem library while exploring memory management for agents. However, it appears to be available only as a Python module at the moment. Is there an equivalent library available for JavaScript or TypeSc…

---

## [How are you validating LangChain agent output before it executes shell commands?](https://forum.langchain.com/t/how-are-you-validating-langchain-agent-output-before-it-executes-shell-commands/3656)

<div class="topic-metadata">

**Author:** [@Elmahrosa-Steward](https://forum.langchain.com/u/Elmahrosa-Steward)\
**Replies:** 1\
**Last updated:** [May 4, 2026, 2:40pm UTC](https://forum.langchain.com/t/how-are-you-validating-langchain-agent-output-before-it-executes-shell-commands/3656 "2026-05-04T14:40:32Z")

</div>

Been running LangChain agents in production for a few months and kept hitting the same anxiety: the agent generates a shell command or installs a package, and I have no systematic way to validate it before it runs. Tr…

---

## [\[Feature request\] YDB vector store integration](https://forum.langchain.com/t/feature-request-ydb-vector-store-integration/3295)

<div class="topic-metadata">

**Author:** [@vgvoleg](https://forum.langchain.com/u/vgvoleg)\
**Replies:** 3\
**Last updated:** [April 28, 2026, 9:59am UTC](https://forum.langchain.com/t/feature-request-ydb-vector-store-integration/3295 "2026-04-28T09:59:44Z")

</div>

Hi! Last year, we implemented YDB vector store for python langchain YDB integration - Docs by LangChain YDB is a versatile open source Distributed SQL Database. Right now, I’d like to implement JS version of vector sto…

[Next page](https://forum.langchain.com/tag/js-help/11.md?match_all_tags=true&page=1&tags%5B%5D=js-help)
