diff --git a/js/package.json b/js/package.json index 1d6e0e2ee..4b8881b4d 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "langsmith", - "version": "0.2.6", + "version": "0.2.7", "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", "packageManager": "yarn@1.22.19", "files": [ diff --git a/js/src/index.ts b/js/src/index.ts index e0831adc2..daf8c12a8 100644 --- a/js/src/index.ts +++ b/js/src/index.ts @@ -14,4 +14,4 @@ export { RunTree, type RunTreeConfig } from "./run_trees.js"; export { overrideFetchImplementation } from "./singletons/fetch.js"; // Update using yarn bump-version -export const __version__ = "0.2.6"; +export const __version__ = "0.2.7"; diff --git a/js/src/utils/env.ts b/js/src/utils/env.ts index e02eae3a8..5330fa4de 100644 --- a/js/src/utils/env.ts +++ b/js/src/utils/env.ts @@ -132,11 +132,16 @@ export function getLangChainEnvVarsMetadata(): Record { "LANGCHAIN_TRACING_V2", "LANGCHAIN_PROJECT", "LANGCHAIN_SESSION", + "LANGSMITH_API_KEY", + "LANGSMITH_ENDPOINT", + "LANGSMITH_TRACING_V2", + "LANGSMITH_PROJECT", + "LANGSMITH_SESSION", ]; for (const [key, value] of Object.entries(allEnvVars)) { if ( - key.startsWith("LANGCHAIN_") && + (key.startsWith("LANGCHAIN_") || key.startsWith("LANGSMITH_")) && typeof value === "string" && !excluded.includes(key) && !key.toLowerCase().includes("key") &&