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

core[patch]: set schema format for AsyncRootListenersTracer #23214

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

mackong
Copy link
Contributor

@mackong mackong commented Jun 20, 2024

  • Description: AsyncRootListenersTracer support on_chat_model_start, it's schema_format should be "original+chat".
  • Issue: N/A
  • Dependencies:

Copy link

vercel bot commented Jun 20, 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 Jun 20, 2024 9:18am

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Ɑ: core Related to langchain-core 🤖:improvement Medium size change to existing code to handle new use-cases labels Jun 20, 2024
Copy link
Collaborator

@eyurtsev eyurtsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolasnk any concerns with this change? I think we want to merge this in, but wanted to check in with you first.

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Jun 20, 2024
@eyurtsev eyurtsev self-assigned this Jun 20, 2024
@eyurtsev
Copy link
Collaborator

@mackong thanks, going to give @nicolasnk a chance to opine prior to merging in

@nicolasnk
Copy link
Contributor

nicolasnk commented Jun 21, 2024

@mackong thanks, going to give @nicolasnk a chance to opine prior to merging in

Hey @eyurtsev. Thanks for letting me know.

I see that the same code for RootListener. Does it make sense to do it in the parent class _TracerCore ?

@eyurtsev
Copy link
Collaborator

@nicolasnk Yes, but we'll do it as a part of a separate PR. We need to spec out if anything might break for users that are sub-classing from BaseTracer right now

@eyurtsev eyurtsev merged commit b108b4d into langchain-ai:master Jun 21, 2024
134 checks passed
@mackong mackong deleted the fix-schema-format branch June 23, 2024 09:02
lalanikarim pushed a commit to lalanikarim/langchain that referenced this pull request Jun 23, 2024
…n-ai#23214)

- **Description:** AsyncRootListenersTracer support on_chat_model_start,
it's schema_format should be "original+chat".
  - **Issue:** N/A
  - **Dependencies:**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: core Related to langchain-core 🤖:improvement Medium size change to existing code to handle new use-cases lgtm PR looks good. Use to confirm that a PR is ready for merging. size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants