@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/index.js
CHANGED
|
@@ -2798,9 +2798,6 @@ var init_ToolExecutor = __esm({
|
|
|
2798
2798
|
}
|
|
2799
2799
|
}
|
|
2800
2800
|
const responseParts = [];
|
|
2801
|
-
if (toolResponseOptions.include_text_response && textContent) {
|
|
2802
|
-
responseParts.push(textContent);
|
|
2803
|
-
}
|
|
2804
2801
|
if (overallStatus === "error") {
|
|
2805
2802
|
const failedTools = [];
|
|
2806
2803
|
const successfulToolNames = [];
|
|
@@ -2828,9 +2825,12 @@ var init_ToolExecutor = __esm({
|
|
|
2828
2825
|
${errorLines.join("\n")}`);
|
|
2829
2826
|
}
|
|
2830
2827
|
if (toolResponseOptions.include_tool_calls && successfulToolNames.length > 0) {
|
|
2831
|
-
responseParts.push(`
|
|
2828
|
+
responseParts.push(`Other tools run: ${successfulToolNames.join(", ")}`);
|
|
2832
2829
|
}
|
|
2833
2830
|
} else {
|
|
2831
|
+
if (toolResponseOptions.include_text_response && textContent) {
|
|
2832
|
+
responseParts.push(textContent);
|
|
2833
|
+
}
|
|
2834
2834
|
if (toolResponseOptions.include_tool_calls || toolResponseOptions.include_errors) {
|
|
2835
2835
|
const childAssistantMessagesResult = await state.storage.sql.exec(
|
|
2836
2836
|
`SELECT id, tool_calls FROM messages WHERE parent_id = ? AND role = 'assistant' AND tool_calls IS NOT NULL`,
|