Trouble with OpenAI crashes
LLM apps3 posts from 3 people2d active+11 post in the last 7 days, 0 the 7 days before (steady)
Posts per day
The posts behind it
3, newest firstcore: count_tokens_approximately crashes on plain callables in tools= despite docstring### Submission checklist - [x] This is a bug, not a usage question. - [x] I added a clear and descriptive title that summarizes this issue. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangChain rather than...langchain-ai/langchain · saivinaypotluri2 repliesOpen ↗Title: [langchain-openai] Combining outputs crashes or drops counts when a nested token usage detail is nullPackage: langchain-openai ### Reproduction ### Actual behavior - `[None, 4]` raises `ValueError: Got different types for token usage`. - `[4, None]` returns `{'reasoning_tokens': None}`, so the 4 tokens are lost. - `[None, None]` returns `None` and emits `UserWarning: Unexpected...langchain-ai/langchain · RaphaelFakhri1 repliesOpen ↗ChatOpenAI.stream() crashes on a mocked tool-call delta with null function### Submission checklist - [x] This is a bug, not a usage question. - [x] I used GitHub search and found the related issue #40894. - [x] The issue includes a self-contained repro through a LangChain public API. - [x] The repro raises on the current stable `langchain-openai`...langchain-ai/langchain · charan-rathore1 repliesOpen ↗
Companies and products named
About this problem
Evidence
3 posts from 3 people in 1 place, about 1 a week over 19 days. Mostly on langchain-ai/langchain. Tools named alongside: LangChain, GitHub.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts about OpenAI with no known issue, sharing the word "crashes". First post Sep 29, 2026, latest Oct 17, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
Other OpenAI problems
Fine-tuning OpenAI is costly and unpredictableOpenAI users keep asking for helpRunning OpenAI locally hits memory and speed limitsOpenAI upgrades break working setupsTrouble with OpenAI chatTrouble with OpenAI responsesOpenAI fails to return valid structured outputTrouble with OpenAI astraTrouble with OpenAI customTrouble with OpenAI imageOpenAI tables suffer from small files and skewTrouble with OpenAI calls
History
Trouble with OpenAI crashes (3 posts)