mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
43db4cd20e
This PR updates the on_tool_end handlers to return the raw output from the tool instead of casting it to a string. This is technically a breaking change, though it's impact is expected to be somewhat minimal. It will fix behavior in `astream_events` as well. Fixes the following issue #18760 raised by @eyurtsev --------- Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
context.py | ||
evaluation.py | ||
langchain_v1.py | ||
langchain.py | ||
log_stream.py | ||
memory_stream.py | ||
root_listeners.py | ||
run_collector.py | ||
schemas.py | ||
stdout.py |