Files
langchain/langchain
blob42 33ebb05251 include the tool name for on_tool_end callback (#2000)
This is useful if you rely on the `on_tool_end` callback to detect which
tool has finished in a multi agents scenario.

For example, I'm working on a project where I consume the `on_tool_end`
event where the event could be emitted by many agents or tools. Right
now the only way to know which tool has finished would be set a marker
on the `on_tool_start` and catch it on `on_tool_end`.

I didn't want to break the signature of the function, but what would
have been cleaner would be to pass the same details as in
`on_tool_start`

Co-authored-by: blob42 <spike@w530>
2023-03-28 10:23:04 -04:00
..
2023-03-22 23:15:04 -07:00
2023-03-14 12:37:48 -07:00
2023-03-14 20:00:22 -07:00
2023-03-27 23:10:46 -07:00
2023-03-27 19:51:23 -07:00
2023-03-16 21:58:06 -07:00
2022-10-24 14:51:15 -07:00
2022-11-12 11:22:32 -08:00
2023-03-27 16:32:55 -07:00
2023-02-20 21:15:45 -08:00
2023-01-19 14:48:30 -08:00