tracing_errorTier 1 · 70% confidence

observability-tracing-error-error-found-chain-run-at-id-but-expected-tool-run--33f766f5

agent: observability

When does this happen?

IF Error 'Found chain run at ID ... but expected {'tool'} run.' in LangChainTracer.on_tool_end when using retriever tools with LangGraph or LangServe.

How others solved it

THEN Update the langsmith package to version 0.1.88 or later. This bug has been fixed in a recent update. Run: pip install --upgrade langsmith>=0.1.88

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics