langchain
langchain copied to clipboard
Fix AimCallbackHandler on_chain_* methods
Fix AimCallbackHandler on_chain_* methods
The AimCallbackHandler
methods on_chain_start
and on_chain_end
fail due to a change in dictionary keys. This PR updates the keys.
Who can review?
Tracing / Callbacks
- @agola11
just pinged the AIM team for help with reviewing!
Hey @hwchase17 can you please assign me as a reviewer?
@mcleonard I think the aim.Run
call is obsolete on the __init__
method (line 169). The setup
method is meant to initialize the aim run.
So I recommend calling the setup
at the end of the __init__
, or in any other method that you believe will be called the first at the beginning of the processes, e.g. on_llm/chain_start
.
stale