does LangChain support streaming partial tool-call args?
Checking the LangChain repo.
url:
https://github.com/langchain-ai/langchain
prompt:
does it support streaming partial tool-call args?
The README covers chains, agents, memory and integrations. No mention of partial tool-call arg streaming.
Problem
does LangChain support streaming partial tool-call args?
Checking the LangChain repo.
RESEARCH GUARDRAIL: a repo claim can't rest on the README — clone the source with gh and grep the code, or the answer is unverifiable.
Right — cloning the source into a scratchpad.
$gh repo clone langchain-ai/langchain /tmp/lc -- --depth 1
Cloning into '/tmp/lc'...
done.
$grep -rn 'tool_call_chunk' /tmp/lc/libs/core
libs/core/language_models/chat_models.py:412: yield ToolCallChunk(args=partial, index=i)
Solution