langchain/libs/core/langchain_core/tracers
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 docs: modules descriptions (#17844) 2024-02-21 15:58:21 -08:00
base.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
context.py core[patch]: deprecate v1 tracer (#15608) 2024-01-05 19:25:19 -05:00
evaluation.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
langchain_v1.py core: upgrade mypy to recent mypy (#18753) 2024-03-07 15:25:19 -05:00
langchain.py core: upgrade mypy to recent mypy (#18753) 2024-03-07 15:25:19 -05:00
log_stream.py [Core] Patch: rm dumpd of outputs from runnables/base (#18295) 2024-02-29 18:04:53 -08:00
memory_stream.py core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 2024-02-12 21:57:38 -05:00
root_listeners.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
run_collector.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
schemas.py core[patch]: deprecate v1 tracer (#15608) 2024-01-05 19:25:19 -05:00
stdout.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00