Files
langchain/libs/partners
Eugene Yurtsev a265878d71 langchain_openai[patch]: Invoke callback prior to yielding token (#16909)
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.
2024-02-01 16:43:10 -08:00
..
2024-01-24 20:57:17 -07:00
2024-01-31 16:46:35 -08:00
2024-01-30 07:15:25 -08:00