@anvia/core 1.0.9 → 1.1.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/LICENSE
CHANGED
package/dist/agent/index.js
CHANGED
|
@@ -2167,7 +2167,7 @@ var AgentRun = class _AgentRun {
|
|
|
2167
2167
|
throw error;
|
|
2168
2168
|
}
|
|
2169
2169
|
}
|
|
2170
|
-
while (currentTurns <= this.maxTurnCount
|
|
2170
|
+
while (currentTurns <= this.maxTurnCount) {
|
|
2171
2171
|
const prompt = newMessages.at(-1);
|
|
2172
2172
|
if (prompt === void 0) {
|
|
2173
2173
|
throw new Error("AgentRun requires at least one message");
|
|
@@ -2470,7 +2470,7 @@ var AgentRun = class _AgentRun {
|
|
|
2470
2470
|
throw error;
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
2473
|
-
while (currentTurns <= this.maxTurnCount
|
|
2473
|
+
while (currentTurns <= this.maxTurnCount) {
|
|
2474
2474
|
const prompt = newMessages.at(-1);
|
|
2475
2475
|
if (prompt === void 0) {
|
|
2476
2476
|
throw new Error("AgentRun requires at least one message");
|
|
@@ -4783,4 +4783,4 @@ export {
|
|
|
4783
4783
|
markResolvedAgentOptions,
|
|
4784
4784
|
Agent
|
|
4785
4785
|
};
|
|
4786
|
-
//# sourceMappingURL=chunk-
|
|
4786
|
+
//# sourceMappingURL=chunk-XU54PLSD.js.map
|