langsmith 0.5.11 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,6 +146,14 @@ const convertMessageToTracedFormat = (message, responseMetadata) => {
|
|
|
146
146
|
image_url: (0, exports.normalizeFileDataAsDataURL)(image, mediaType),
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
+
else if (part.type === "reasoning" &&
|
|
150
|
+
"text" in part &&
|
|
151
|
+
typeof part.text === "string") {
|
|
152
|
+
return {
|
|
153
|
+
type: "reasoning",
|
|
154
|
+
reasoning: part.text,
|
|
155
|
+
};
|
|
156
|
+
}
|
|
149
157
|
return part;
|
|
150
158
|
});
|
|
151
159
|
formattedMessage.content = newContent;
|
|
@@ -142,6 +142,14 @@ export const convertMessageToTracedFormat = (message, responseMetadata) => {
|
|
|
142
142
|
image_url: normalizeFileDataAsDataURL(image, mediaType),
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
+
else if (part.type === "reasoning" &&
|
|
146
|
+
"text" in part &&
|
|
147
|
+
typeof part.text === "string") {
|
|
148
|
+
return {
|
|
149
|
+
type: "reasoning",
|
|
150
|
+
reasoning: part.text,
|
|
151
|
+
};
|
|
152
|
+
}
|
|
145
153
|
return part;
|
|
146
154
|
});
|
|
147
155
|
formattedMessage.content = newContent;
|
package/dist/index.cjs
CHANGED
|
@@ -18,4 +18,4 @@ Object.defineProperty(exports, "PromptCache", { enumerable: true, get: function
|
|
|
18
18
|
Object.defineProperty(exports, "configureGlobalPromptCache", { enumerable: true, get: function () { return index_js_1.configureGlobalPromptCache; } });
|
|
19
19
|
Object.defineProperty(exports, "promptCacheSingleton", { enumerable: true, get: function () { return index_js_1.promptCacheSingleton; } });
|
|
20
20
|
// Update using yarn bump-version
|
|
21
|
-
exports.__version__ = "0.5.
|
|
21
|
+
exports.__version__ = "0.5.12";
|
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export { overrideFetchImplementation } from "./singletons/fetch.js";
|
|
|
5
5
|
export { getDefaultProjectName } from "./utils/project.js";
|
|
6
6
|
export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
7
7
|
export { Cache, PromptCache, type CacheConfig, type CacheMetrics, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
8
|
-
export declare const __version__ = "0.5.
|
|
8
|
+
export declare const __version__ = "0.5.12";
|
package/dist/index.js
CHANGED
|
@@ -5,4 +5,4 @@ export { getDefaultProjectName } from "./utils/project.js";
|
|
|
5
5
|
export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
6
6
|
export { Cache, PromptCache, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
7
7
|
// Update using yarn bump-version
|
|
8
|
-
export const __version__ = "0.5.
|
|
8
|
+
export const __version__ = "0.5.12";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langsmith",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.12",
|
|
4
4
|
"description": "Client library to connect to the LangSmith Observability and Evaluation Platform.",
|
|
5
5
|
"packageManager": "yarn@1.22.19",
|
|
6
6
|
"files": [
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"ai": "^6.0.1",
|
|
181
181
|
"babel-jest": "^30.2.0",
|
|
182
182
|
"cross-env": "^10.1.0",
|
|
183
|
-
"dotenv": "^
|
|
183
|
+
"dotenv": "^17.3.1",
|
|
184
184
|
"eslint": "^8.41.0",
|
|
185
185
|
"eslint-config-prettier": "^10.1.8",
|
|
186
186
|
"eslint-plugin-import": "^2.27.5",
|