@standardagents/builder 0.11.6 → 0.11.7
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/built-in-routes.js +4 -4
- package/dist/built-in-routes.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/built-in-routes.js
CHANGED
|
@@ -2780,9 +2780,6 @@ var init_ToolExecutor = __esm({
|
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
2782
|
const responseParts = [];
|
|
2783
|
-
if (toolResponseOptions.include_text_response && textContent) {
|
|
2784
|
-
responseParts.push(textContent);
|
|
2785
|
-
}
|
|
2786
2783
|
if (overallStatus === "error") {
|
|
2787
2784
|
const failedTools = [];
|
|
2788
2785
|
const successfulToolNames = [];
|
|
@@ -2810,9 +2807,12 @@ var init_ToolExecutor = __esm({
|
|
|
2810
2807
|
${errorLines.join("\n")}`);
|
|
2811
2808
|
}
|
|
2812
2809
|
if (toolResponseOptions.include_tool_calls && successfulToolNames.length > 0) {
|
|
2813
|
-
responseParts.push(`
|
|
2810
|
+
responseParts.push(`Other tools run: ${successfulToolNames.join(", ")}`);
|
|
2814
2811
|
}
|
|
2815
2812
|
} else {
|
|
2813
|
+
if (toolResponseOptions.include_text_response && textContent) {
|
|
2814
|
+
responseParts.push(textContent);
|
|
2815
|
+
}
|
|
2816
2816
|
if (toolResponseOptions.include_tool_calls || toolResponseOptions.include_errors) {
|
|
2817
2817
|
const childAssistantMessagesResult = await state.storage.sql.exec(
|
|
2818
2818
|
`SELECT id, tool_calls FROM messages WHERE parent_id = ? AND role = 'assistant' AND tool_calls IS NOT NULL`,
|