Skip to content

Langsmith env var - #182

Merged
jmsevin merged 3 commits into
mainfrom
langsmith-env-var
Jul 31, 2026
Merged

Langsmith env var#182
jmsevin merged 3 commits into
mainfrom
langsmith-env-var

Conversation

@jmsevin

@jmsevin jmsevin commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

This pull request adds configuration for integrating LangSmith tracing into the development environment for the WeLearn API. The most important changes are the addition of new environment variables and secrets for LangSmith support.

LangSmith integration:

  • Added LANGSMITH_TRACING_ENABLED, LANGSMITH_PROJECT, and LANGSMITH_ENDPOINT environment variables to k8s/welearn-api/values.dev.yaml to enable and configure LangSmith tracing in development.
  • Added encrypted LANGSMITH_API_KEY to the config section of k8s/welearn-api/secrets.dev.yaml for secure authentication with LangSmith.

Secrets file maintenance:

  • Updated the lastmodified timestamp and mac in the sops section of k8s/welearn-api/secrets.dev.yaml to reflect the addition of the new secret.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces LangSmith tracing configuration for the WeLearn API development deployment by adding the required environment variables and the encrypted API key to the Helm values/secrets used for the dev environment.

Changes:

  • Added LangSmith tracing env vars (LANGSMITH_TRACING_ENABLED, LANGSMITH_PROJECT, LANGSMITH_ENDPOINT) to the dev Helm values.
  • Added encrypted LANGSMITH_API_KEY to the dev SOPS-managed secrets file (and updated SOPS metadata).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
k8s/welearn-api/values.dev.yaml Adds LangSmith tracing configuration env vars for the dev deployment.
k8s/welearn-api/secrets.dev.yaml Adds the encrypted LangSmith API key for dev and updates SOPS metadata accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread k8s/welearn-api/values.dev.yaml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jmsevin
jmsevin merged commit 42973fd into main Jul 31, 2026
3 checks passed
@jmsevin
jmsevin deleted the langsmith-env-var branch July 31, 2026 10:09
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.

3 participants