@t2000/engine 1.10.0 → 1.10.1
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7290,6 +7290,7 @@ var QueryEngine = class {
|
|
|
7290
7290
|
let turns = 0;
|
|
7291
7291
|
let hasRetriedWithCleanHistory = false;
|
|
7292
7292
|
let turnStartMs = Date.now();
|
|
7293
|
+
const turnReadToolResults = [];
|
|
7293
7294
|
while (turns < this.maxTurns) {
|
|
7294
7295
|
if (signal.aborted) {
|
|
7295
7296
|
yield { type: "error", error: new Error("Aborted") };
|
|
@@ -7305,7 +7306,6 @@ var QueryEngine = class {
|
|
|
7305
7306
|
pendingToolCalls: []
|
|
7306
7307
|
};
|
|
7307
7308
|
const dispatcher = new EarlyToolDispatcher(this.tools, context, this.turnReadCache);
|
|
7308
|
-
const turnReadToolResults = [];
|
|
7309
7309
|
try {
|
|
7310
7310
|
const microcompacted = microcompact(this.messages, this.tools);
|
|
7311
7311
|
this.messages = microcompacted;
|