Skip to content

Don't expose LangSmith API Key in trace

Shinya Maeda requested to merge fix-langsmith-client into master

What does this MR do and why?

When using LangSmith as a tracer, it currently exposes LangSmith API Key in traces due to the instance_values, which should not.

This MR turn these values into non instance variables.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
2024-04-16_17-06 2024-04-16_17-05

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Shinya Maeda

Merge request reports