langchain/libs/community/langchain_community/callbacks/streamlit
Mohammad Mohtashim 43db4cd20e
core[major]: On Tool End Observation Casting Fix (#18798)
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>
2024-03-11 10:59:04 -04:00
..
__init__.py community[patch]: callbacks mypy fixes (#17058) 2024-02-05 12:37:27 -08:00
mutable_expander.py community[patch]: callbacks mypy fixes (#17058) 2024-02-05 12:37:27 -08:00
streamlit_callback_handler.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00