mirror of https://github.com/hwchase17/langchain
community[patch]: Invoke callback prior to yielding token (#17346)
**Description:** Invoke callback prior to yielding token in stream method for watsonx. **Issue:** [Callback for on_llm_new_token should be invoked before the token is yielded by the model #16913](https://github.com/langchain-ai/langchain/issues/16913) Co-authored-by: Robby <h0rv@users.noreply.github.com>pull/17348/head^2
parent
ce9a68791b
commit
0653aa469a
Loading…
Reference in New Issue