library · inferred from evidence
LangChain
A library mentioned as a source of unhashable types (e.g., Document lists).
- LangChain agent: {tool_name} is not a valid tool, try another one (long tool names)
Shorten your tool names. The reporter's own fix: renaming long tool names like `retrieve_from_somewhere_else` to short ones like `use_somewhere_else` stopped the error entirely. The model was garbling or truncating long tool names when sele
- DeepSeek multi-turn agent 400 error: The `reasoning_content` in the thinking mode must be passed back to the API
A maintainer re-tested this live against the current DeepSeek API and confirmed the 400 no longer reproduces: multi-turn agent loops with tool calling now succeed on deepseek-v4-flash / deepseek-v4-pro with or without reasoning_content in t
- streaming not working when using bind_tools with ChatOllama - llm.stream() returns no tokens
The root cause was on the Ollama server side, not in LangChain. A reporter confirmed that updating to the latest Ollama release (which shipped streaming-tool support) fixed streaming with bind_tools, and another confirmed the same behavior:
- Error in RootListenersTracer.on_chain_end callback: KeyError('answer') while streaming a RAG chain
This warning is non-fatal: the streamed output is unaffected, only the tracing callback hits the missing key. Multiple reporters confirmed it went away after upgrading (langchain 0.2.14 / langchain-core 0.2.32 or later), so upgrading is the
- Chroma.from_documents() raises sqlite3.OperationalError: attempt to write a readonly database
The original reporter confirmed this fix worked: pip install --upgrade chromadb==0.4.14, and several other users said the same. The underlying cause identified in the thread is a stale sqlite connection that survives the directory deletion,