langsmith
Advanced tools
Comparing version 0.1.64 to 0.1.65-rc.0
@@ -29,2 +29,4 @@ import { BaseRun, KVMap, RunCreate } from "./schemas.js"; | ||
dotted_order?: string; | ||
/** @internal */ | ||
__shallowClone?: boolean; | ||
} | ||
@@ -31,0 +33,0 @@ export interface RunnableConfigLike { |
@@ -196,2 +196,7 @@ import * as uuid from "uuid"; | ||
}); | ||
if (originalConfig.__shallowClone) { | ||
delete originalConfig.__shallowClone; | ||
Object.assign(this, originalConfig); | ||
return; | ||
} | ||
const defaultConfig = RunTree.getDefaultConfig(); | ||
@@ -261,2 +266,7 @@ const { metadata, ...config } = originalConfig; | ||
}); | ||
const CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables"); | ||
if (CONTEXT_VARIABLES_KEY in this) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
child[CONTEXT_VARIABLES_KEY] = this[CONTEXT_VARIABLES_KEY]; | ||
} | ||
const LC_CHILD = Symbol.for("lc:child_config"); | ||
@@ -263,0 +273,0 @@ const presentConfig = config.extra?.[LC_CHILD] ?? |
{ | ||
"name": "langsmith", | ||
"version": "0.1.64", | ||
"version": "0.1.65-rc.0", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
673695
17799