gpt-driver-node 1.0.8 → 1.0.9
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.cjs +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1630,6 +1630,7 @@ ${"=".repeat(50)}`);
|
|
|
1630
1630
|
globalLogger.debug(`[Performance] Smart loop completed in ${(smartLoopEndTime - smartLoopStartTime).toFixed(2)}ms`);
|
|
1631
1631
|
if (!result.success) {
|
|
1632
1632
|
await this.setSessionFailed();
|
|
1633
|
+
throw new Error(`Smart loop failed: ${result.error}`);
|
|
1633
1634
|
}
|
|
1634
1635
|
if (result.cacheHitCount) {
|
|
1635
1636
|
this._stats_cacheHits += result.cacheHitCount;
|
package/dist/index.mjs
CHANGED
|
@@ -1628,6 +1628,7 @@ ${"=".repeat(50)}`);
|
|
|
1628
1628
|
globalLogger.debug(`[Performance] Smart loop completed in ${(smartLoopEndTime - smartLoopStartTime).toFixed(2)}ms`);
|
|
1629
1629
|
if (!result.success) {
|
|
1630
1630
|
await this.setSessionFailed();
|
|
1631
|
+
throw new Error(`Smart loop failed: ${result.error}`);
|
|
1631
1632
|
}
|
|
1632
1633
|
if (result.cacheHitCount) {
|
|
1633
1634
|
this._stats_cacheHits += result.cacheHitCount;
|