deeper-cli 1.2.3 → 1.2.4
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/cli/index.js +1 -1
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/chat-repl.ts +1 -1
package/package.json
CHANGED
package/src/cli/chat-repl.ts
CHANGED
|
@@ -719,7 +719,7 @@ async function runLoop(
|
|
|
719
719
|
const results = await Promise.allSettled(safe.map(async tc => { const r = await execTool(tc, tools, opts); doneTools++; return r; }));
|
|
720
720
|
for (const r of results) {
|
|
721
721
|
if (r.status === 'fulfilled') { history.push(r.value); ttc++; GS.tc++; }
|
|
722
|
-
else { history.push({ role: 'tool', content: `Error: ${String(r.reason)}`, tool_call_id: 'parallel' }); }
|
|
722
|
+
else { history.push({ role: 'tool', content: `Error: ${String(r.reason)}`, tool_call_id: 'parallel', name: 'parallel' }); }
|
|
723
723
|
}
|
|
724
724
|
} else if (safe.length === 1) {
|
|
725
725
|
const r = await execTool(safe[0], tools, opts);
|