langchain/tests/unit_tests/callbacks
Zander Chase 4ee47926ca
Add on_chat_message_start (#4499)
### Add on_chat_message_start to callback manager and base tracer

Goal: trace messages directly to permit reloading as chat messages
(store in an integration-agnostic way)

Add an `on_chat_message_start` method. Fall back to `on_llm_start()` for
handlers that don't have it implemented.

Does so in a non-backwards-compat breaking way (for now)
2023-05-11 11:06:39 -07:00
..
tracers Add on_chat_message_start (#4499) 2023-05-11 11:06:39 -07:00
__init__.py
fake_callback_handler.py Add on_chat_message_start (#4499) 2023-05-11 11:06:39 -07:00
test_callback_manager.py
test_openai_info.py Better custom model handling OpenAICallbackHandler (#4009) 2023-05-02 16:19:57 -07:00