@langchain/core 0.3.68 → 0.3.69
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.
- package/dist/tools/index.cjs +2 -0
- package/dist/tools/index.js +2 -0
- package/package.json +1 -1
package/dist/tools/index.cjs
CHANGED
|
@@ -415,6 +415,7 @@ function _formatToolOutput(params) {
|
|
|
415
415
|
(Array.isArray(content) &&
|
|
416
416
|
content.every((item) => typeof item === "object"))) {
|
|
417
417
|
return new tool_js_1.ToolMessage({
|
|
418
|
+
status: "success",
|
|
418
419
|
content,
|
|
419
420
|
artifact,
|
|
420
421
|
tool_call_id: toolCallId,
|
|
@@ -424,6 +425,7 @@ function _formatToolOutput(params) {
|
|
|
424
425
|
}
|
|
425
426
|
else {
|
|
426
427
|
return new tool_js_1.ToolMessage({
|
|
428
|
+
status: "success",
|
|
427
429
|
content: _stringify(content),
|
|
428
430
|
artifact,
|
|
429
431
|
tool_call_id: toolCallId,
|
package/dist/tools/index.js
CHANGED
|
@@ -402,6 +402,7 @@ function _formatToolOutput(params) {
|
|
|
402
402
|
(Array.isArray(content) &&
|
|
403
403
|
content.every((item) => typeof item === "object"))) {
|
|
404
404
|
return new ToolMessage({
|
|
405
|
+
status: "success",
|
|
405
406
|
content,
|
|
406
407
|
artifact,
|
|
407
408
|
tool_call_id: toolCallId,
|
|
@@ -411,6 +412,7 @@ function _formatToolOutput(params) {
|
|
|
411
412
|
}
|
|
412
413
|
else {
|
|
413
414
|
return new ToolMessage({
|
|
415
|
+
status: "success",
|
|
414
416
|
content: _stringify(content),
|
|
415
417
|
artifact,
|
|
416
418
|
tool_call_id: toolCallId,
|