mirror of
https://github.com/hwchase17/langchain
synced 2024-11-02 09:40:22 +00:00
a265878d71
All models should be calling the callback for new token prior to yielding the token. Not doing this can cause callbacks for downstream steps to be called prior to the callback for the new token; causing issues in astream_events APIs and other things that depend in callback ordering being correct. We need to make this change for all chat models. |
||
---|---|---|
.. | ||
anthropic | ||
exa | ||
google-genai | ||
google-vertexai | ||
mistralai | ||
nomic | ||
nvidia-ai-endpoints | ||
nvidia-trt | ||
openai | ||
robocorp | ||
together |