Trouble with LangChain metadata
4 posts from 4 people4d activeFading, +0 this week
Posts per day
The posts behind it
xai: `ChatXAI` drops LangSmith gateway metadata when streaming
...path was tested. The Responses API streaming path appears to use the same check. ### Workaround Setting `include_response_headers=True` makes `stream()` return the gateway metadata. ### Proposed fix Override `_uses_gateway` in `ChatXAI` to check `xai_api_key`, and add regression...
CI: integration (fireworks) failing: test_usage_metadata_streaming 'Only one chunk should set input_tokens'
...## When it started - Last passing: not available in the retained run history - First failing: [fa35b519a](https://github.com/langchain-ai/langchain/commit/fa35b519a) (run https://github.com/langchain-ai/langchain/actions/runs/39958534048, 2026-10-23 09:06 ET) - 10/10 recent...
feat(fireworks): surface LangSmith gateway metadata on successful responses
### Submission checklist - [x] This is a feature request, not a bug report or usage question. - [x] I added a clear and descriptive title that summarizes the feature request. - [x] I used the GitHub search to find a similar feature request and didn't find it. - [x] I checked the...
bug: _dict_int_op crashes with ValueError when usage metadata contains None values
### Bug Description In `libs/core/langchain_core/utils/usage.py`, `_dict_int_op` is used by `add_usage` and `subtract_usage` (in `langchain_core.messages.ai`) to recursively combine token usage dictionaries (`UsageMetadata`). When a model provider or streaming response emits...
Companies and products named
About this problem
Evidence
4 posts from 4 people in 1 place, about 1 a week over 45 days. Mostly on langchain-ai/langchain. Tools named alongside: Anthropic, OpenAI, Perplexity, DeepSeek.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts about LangChain with no known issue, sharing the word "metadata". First post Sep 30, 2026, latest Nov 13, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
Other LangChain problems
LangChain fails to return valid structured output
5 posts from 4 people on GitHub issues.
LangChain users keep filing bugs
Top post: "langchain 1.4.0: any after_model middleware using documented `jump_to=tools` bypasses the HITL", one of 27 posts from 24 people on GitHub issues, Reddit.
LangChain upgrades break working setups
11 posts from 11 people on GitHub issues, Reddit.
Trouble with LangChain agent
Top post: "langchain-classic: importing a moved agent from `agent_toolkits` raises `ValueError` instead of `ImportError`", one of 8 posts from 7 people on GitHub issues, Reddit, Stack Overflow.
RAG on LangChain returns irrelevant or missing context
8 posts from 7 people on Reddit, GitHub issues, Stack Overflow.
LangChain agents loop, stall or fail midway
6 posts from 6 people on GitHub issues, Reddit.
LangChain rate limits and usage caps block work
4 posts from 3 people on GitHub issues.
Trouble with LangChain core
Top post: "core: check_valid_template raises ValueError for mustache template_format", one of 4 posts from 3 people on GitHub issues.
Trouble with LangChain agents
Top post: "Is it normal for a LangGraph supervisor to consume as many tokens as all 8 agents combined? How can we", one of 4 posts from 4 people on Reddit.
Trouble with LangChain test
Top post: "langchain: MCP adapter test asserts a POSIX-only error message, fails on Windows where the drive letter", one of 3 posts from 3 people on GitHub issues.
LangChain error messages are cryptic
3 posts from 2 people on GitHub issues.
LangChain vulnerabilities are hard to triage and patch
3 posts from 1 person on GitHub issues. Unverified.
History