Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing chain classname in StdOutCallbackHandler.on_chain_start #6124

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

idoru
Copy link
Contributor

@idoru idoru commented Jun 13, 2023

Retrieves the name of the class from new location as of commit 18af149

Before submitting

Who can review?

Tag maintainers/contributors who might be interested:

Tracing / Callbacks

@idoru
Copy link
Contributor Author

idoru commented Jun 13, 2023

I was curious that there seems to be some overlap with the StdOutCallbackHandler and ConsoleCallbackHandler tracer and was curious about the design direction. Is the tracing handler intended to eventually replace this?

@idoru idoru force-pushed the fix-verbose-stdout-error branch from 5c72d17 to b25f26b Compare June 14, 2023 03:38
@idoru idoru changed the title Fix KeyError in StdOutCallbackHandler.on_chain_start Fix missing chain classname in StdOutCallbackHandler.on_chain_start Jun 14, 2023
@vowelparrot
Copy link
Contributor

The console handler provides even more information than the stdout callback handler and structures it more according to the trace tree than an event log

Co-authored-by: Zander Chase <130414180+vowelparrot@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Jun 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ❌ Failed (Inspect) Jun 23, 2023 0:54am

@vercel vercel bot temporarily deployed to Preview June 23, 2023 12:54 Inactive
@baskaryan baskaryan merged commit 2241990 into langchain-ai:master Jul 13, 2023
baskaryan pushed a commit that referenced this pull request Jul 14, 2023
Fix for Serializable class to include name, used in FileCallbackHandler
as same issue #7524

Description: Fixes the Serializable class to include 'name' attribute
(class_name) in the dict created,
This is used in Callbacks, specifically the StdOutCallbackHandler,
FileCallbackHandler.
Issue: As described in issue #7524
Dependencies: None
Tag maintainer: SInce this is related to the callback module, tagging
@agola11 @idoru
Comments:

Glad to see issue #7524 fixed in pull #6124, but you forget to change
the same place in FileCallbackHandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants