@polka-codes/core 0.9.77 → 0.9.78
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/index.js +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1823,6 +1823,14 @@ var agentWorkflow = async (input, { step, tools, logger }) => {
|
|
|
1823
1823
|
value: `Tool '${toolCall.toolName}' not found.`
|
|
1824
1824
|
}
|
|
1825
1825
|
});
|
|
1826
|
+
toolResults.push({
|
|
1827
|
+
toolCallId: toolCall.toolCallId,
|
|
1828
|
+
toolName: toolCall.toolName,
|
|
1829
|
+
output: {
|
|
1830
|
+
type: "error-text",
|
|
1831
|
+
value: `Error: Tool '${toolCall.toolName}' not found.`
|
|
1832
|
+
}
|
|
1833
|
+
});
|
|
1826
1834
|
continue;
|
|
1827
1835
|
}
|
|
1828
1836
|
await event(`event-tool-use-${toolCall.toolName}-${toolCall.toolCallId}`, {
|