Socket
Socket
Sign inDemoInstall

langsmith

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langsmith - npm Package Compare versions

Comparing version 0.1.65-rc.0 to 0.1.65-rc.1

1

dist/run_trees.d.ts
import { BaseRun, KVMap, RunCreate } from "./schemas.js";
import { Client } from "./client.js";
export declare function convertToDottedOrderFormat(epoch: number, runId: string, executionOrder?: number): string;
export declare const _LC_CONTEXT_VARIABLES_KEY: unique symbol;
export interface RunTreeConfig {

@@ -5,0 +6,0 @@ name: string;

7

dist/run_trees.js

@@ -15,2 +15,3 @@ import * as uuid from "uuid";

}
export const _LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
/**

@@ -266,6 +267,6 @@ * Baggage header information

});
const CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
if (CONTEXT_VARIABLES_KEY in this) {
if (_LC_CONTEXT_VARIABLES_KEY in this) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
child[CONTEXT_VARIABLES_KEY] = this[CONTEXT_VARIABLES_KEY];
child[_LC_CONTEXT_VARIABLES_KEY] =
this[_LC_CONTEXT_VARIABLES_KEY];
}

@@ -272,0 +273,0 @@ const LC_CHILD = Symbol.for("lc:child_config");

import { AsyncLocalStorage } from "node:async_hooks";
import { RunTree, isRunTree, isRunnableConfigLike, } from "./run_trees.js";
import { RunTree, _LC_CONTEXT_VARIABLES_KEY, isRunTree, isRunnableConfigLike, } from "./run_trees.js";
import { isTracingEnabled } from "./env.js";

@@ -279,2 +279,8 @@ import { ROOT, AsyncLocalStorageProviderSingleton, } from "./singletons/traceable.js";

const currentRunTree = getTracingRunTree(new RunTree(ensuredConfig), processedArgs, config?.getInvocationParams);
if (prevRunFromStore !== undefined &&
_LC_CONTEXT_VARIABLES_KEY in prevRunFromStore) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
currentRunTree[_LC_CONTEXT_VARIABLES_KEY] =
prevRunFromStore[_LC_CONTEXT_VARIABLES_KEY];
}
return [currentRunTree, processedArgs];

@@ -281,0 +287,0 @@ })();

{
"name": "langsmith",
"version": "0.1.65-rc.0",
"version": "0.1.65-rc.1",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",

@@ -5,0 +5,0 @@ "packageManager": "yarn@1.22.19",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc