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

Add V2 Env Var for Callbacks #1197

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

vowelparrot
Copy link
Contributor

  • Add a LANGCHAIN_TRACING_V2 environment variables to enable v2 tracing
  • Initialize a v2 tracer if this is set (has precedence over the regular tracing env var)

@vercel
Copy link

vercel bot commented May 10, 2023

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

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 10, 2023 9:08pm

import { getTracingCallbackHandler } from "./handlers/initialize.js";
import {
getTracingCallbackHandler,
getTracingV2CallbackHandler,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This function doesn't seem to exist

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Heh that's what I get for using a git restore --source without linting

Base automatically changed from vwp/add_v2_tracer to main May 10, 2023 18:41
@vowelparrot vowelparrot force-pushed the vwp/update_env_var_for_tracer branch from d4d3477 to 2778311 Compare May 10, 2023 20:57
@vowelparrot vowelparrot merged commit a54224d into main May 10, 2023
@vowelparrot vowelparrot deleted the vwp/update_env_var_for_tracer branch May 10, 2023 21:13
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