Skip to content

Commit

Permalink
core[patch]: set schema format for AsyncRootListenersTracer (#23214)
Browse files Browse the repository at this point in the history
- **Description:** AsyncRootListenersTracer support on_chat_model_start,
it's schema_format should be "original+chat".
  - **Issue:** N/A
  - **Dependencies:**
  • Loading branch information
mackong committed Jun 21, 2024
1 parent 976b456 commit b108b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/tracers/root_listeners.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(
on_end: Optional[AsyncListener],
on_error: Optional[AsyncListener],
) -> None:
super().__init__()
super().__init__(_schema_format="original+chat")

self.config = config
self._arg_on_start = on_start
Expand Down

0 comments on commit b108b4d

Please sign in to comment.