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

feat(langchain): DEBUG log level for langsmith:hidden #494

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

hassiebp
Copy link
Contributor

@hassiebp hassiebp commented Jan 21, 2025

Important

Adds DEBUG log level for spans and generations in CallbackHandler when langsmith:hidden tag is present.

  • Behavior:
    • Introduces LANGSMITH_HIDDEN_TAG constant in callback.ts.
    • Sets log level to DEBUG in CallbackHandler methods (handleChainStart, handleGenerationStart, handleToolStart, handleRetrieverStart) if LANGSMITH_HIDDEN_TAG is present in tags.
  • Misc:
    • Adds level property to span and generation calls in callback.ts.

This description was created by Ellipsis for e515f33. It will automatically update as commits are pushed.

Copy link

vercel bot commented Jan 21, 2025

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

Name Status Preview Updated (UTC)
langfuse-js ✅ Ready (Inspect) Visit Preview Jan 21, 2025 10:19am

@hassiebp hassiebp enabled auto-merge (squash) January 21, 2025 10:23
@hassiebp hassiebp merged commit 9554c47 into main Jan 21, 2025
9 checks passed
@hassiebp hassiebp deleted the hassieb/lfe-3552-langgraph-langsmith-hidden branch January 21, 2025 10:28
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.

1 participant