langchain/libs/community/langchain_community/callbacks
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
..
streamlit core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
tracers community[patch]: callbacks mypy fixes (#17058) 2024-02-05 12:37:27 -08:00
__init__.py community[minor] : adds callback handler for Fiddler AI (#17708) 2024-02-25 18:17:03 -08:00
aim_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
argilla_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
arize_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
arthur_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
clearml_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
comet_ml_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
confident_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
context_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
fiddler_callback.py community[minor] : adds callback handler for Fiddler AI (#17708) 2024-02-25 18:17:03 -08:00
flyte_callback.py community[patch]: callbacks mypy fixes (#17058) 2024-02-05 12:37:27 -08:00
human.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
infino_callback.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
labelstudio_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
llmonitor_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
manager.py community: Add CometLLM tracing context var (#15765) 2024-01-22 15:17:16 -08:00
mlflow_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
openai_info.py community: add gpt-4-turbo and gpt-4-0125 costs (#17349) 2024-02-11 21:24:24 -08:00
promptlayer_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
sagemaker_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
trubrics_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
wandb_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
whylabs_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00