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

community[patch]: fix CometTracer bug #20796

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

alexkuzmik
Copy link
Contributor

@alexkuzmik alexkuzmik commented Apr 23, 2024

Hi! My name is Alex, I'm an SDK engineer from Comet

This PR updates the CometTracer class.

Fixed an issue when CometTracer failed while logging the data to Comet because this data is not JSON-encodable.

The problem was in some of the Run attributes that could contain non-default types inside, now these attributes are taken not from the run instance, but from the run.dict() return value.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 23, 2024
Copy link

vercel bot commented Apr 23, 2024

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Apr 23, 2024 5:14pm

@dosubot dosubot bot added Ɑ: Runnables Related to Runnables 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Apr 23, 2024
@eyurtsev eyurtsev self-assigned this Apr 23, 2024
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Apr 23, 2024
@eyurtsev eyurtsev changed the title community: fix CometTracer bug community[patch]: fix CometTracer bug Apr 23, 2024
@eyurtsev eyurtsev merged commit 5560cc4 into langchain-ai:master Apr 23, 2024
60 checks passed
hinthornw pushed a commit that referenced this pull request Apr 26, 2024
Hi! My name is Alex, I'm an SDK engineer from
[Comet](https://www.comet.com/site/)

This PR updates the `CometTracer` class.

Fixed an issue when `CometTracer` failed while logging the data to Comet
because this data is not JSON-encodable.

The problem was in some of the `Run` attributes that could contain
non-default types inside, now these attributes are taken not from the
run instance, but from the `run.dict()` return value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature lgtm PR looks good. Use to confirm that a PR is ready for merging. Ɑ: Runnables Related to Runnables size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants